master
Thomas Schmitt 2 years ago
parent
commit
4f9f6b5149
  1. 5
      ConcurrentLinuxSr.md

5
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

Loading…
Cancel
Save