Thomas Schmitt 2020-07-31 11:13:32 +00:00
parent 09e95577b8
commit 4f9f6b5149
1 changed files with 3 additions and 2 deletions

@ -78,7 +78,7 @@ $ cdrskin drive_scsi_dev_family=sg dev=/dev/sg6 -v image3.iso
Meanwhile the releases on [release page](Releases) Meanwhile the releases on [release page](Releases)
have the bug fixed and xorriso augmented by a new command. 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 Despite the fine performance of `/dev/sg*` it remains desirable to use
`/dev/sr*` because `/dev/sg` is deprecated by the kernel developers, `/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 cause long delays of communication with the other drives. Some of these delays
cannot be avoided. cannot be avoided.
E.g. the SCSI command to eject the tray needs several seconds to be E.g. the SCSI command to eject the tray needs several seconds to be