From 4f9f6b514908d96ca561186ca7b4f44e199bf4c9 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 31 Jul 2020 11:13:32 +0000 Subject: [PATCH] --- ConcurrentLinuxSr.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ConcurrentLinuxSr.md b/ConcurrentLinuxSr.md index 6d12339..f6d111b 100644 --- a/ConcurrentLinuxSr.md +++ b/ConcurrentLinuxSr.md @@ -78,7 +78,7 @@ $ cdrskin drive_scsi_dev_family=sg dev=/dev/sg6 -v image3.iso Meanwhile the releases on [release page](Releases) have the bug fixed and xorriso augmented by a new command. -## Staying with /dev/sr* as bad as it is +## Changing kernel source to make /dev/sr* as fast as /dev/sg* Despite the fine performance of `/dev/sg*` it remains desirable to use `/dev/sr*` because `/dev/sg` is deprecated by the kernel developers, @@ -103,8 +103,9 @@ static int sr_block_ioctl(struct block_device *bdev, fmode_t mode, unsigned cmd, ... } ``` +## Staying with /dev/sr* as bad as it is -Without such a code change, long lasting SCSI transactions via `/dev/sr*` +Without such a kernel change, long lasting SCSI transactions via `/dev/sr*` cause long delays of communication with the other drives. Some of these delays cannot be avoided. E.g. the SCSI command to eject the tray needs several seconds to be