Re: [PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes

2013-01-04 Thread Otto Meta
On 2013-01-04 Stefan Richter wrote: > As yo may have seen in the mailinglist archive, when Wakko and I tested > with sr_mutex removed without any replacement, we were not able to trigger > any race condition. However, we certainly did not attempt this very > particular test (two drives on the same

Re: [PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes

2013-01-04 Thread Wakko Warner
Stefan Richter wrote: > On Jan 04 Otto Meta wrote: > > Otto Meta wrote: > > > The single mutex for the sr module, introduced as a BKL replacement, > > > globally serialises all sr ioctls, which hurts multi-drive performance. > > > > > > This patch replaces sr_mutex with per-device mutexes in struc

Re: [PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes

2013-01-04 Thread Stefan Richter
On Jan 04 Otto Meta wrote: > Otto Meta wrote: > > The single mutex for the sr module, introduced as a BKL replacement, > > globally serialises all sr ioctls, which hurts multi-drive performance. > > > > This patch replaces sr_mutex with per-device mutexes in struct scsi_cd, > > allowing concurrent

Re: [PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes

2013-01-03 Thread Otto Meta
Otto Meta wrote: > The single mutex for the sr module, introduced as a BKL replacement, > globally serialises all sr ioctls, which hurts multi-drive performance. > > This patch replaces sr_mutex with per-device mutexes in struct scsi_cd, > allowing concurrent ioctls on different sr devices. Unfor

[PATCH] [SCSI] sr: Fix multi-drive performance by using per-device mutexes

2013-01-01 Thread Otto Meta
The single mutex for the sr module, introduced as a BKL replacement, globally serialises all sr ioctls, which hurts multi-drive performance. This patch replaces sr_mutex with per-device mutexes in struct scsi_cd, allowing concurrent ioctls on different sr devices. Signed-off-by: Otto Meta --- T