[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

Re: [PATCH v2 1/5] virtio: add functions for piecewise addition of buffers

2013-01-01 Thread Rusty Russell
Paolo Bonzini writes: > The virtqueue_add_buf function has two limitations: > > 1) it requires the caller to provide all the buffers in a single call; > > 2) it does not support chained scatterlists: the buffers must be > provided as an array of struct scatterlist; Chained scatterlists are a horr