On Tue, Apr 04, 2017 at 03:56:34PM +0000, Bart Van Assche wrote: > > This looks like generic block layer code, why is it in SCSI? > > Hello Christoph, > > That's an excellent question. I assume that you are fine with moving > this code to the block layer? Yes. In fact I wonder if we need the blk_mq_ops method at all now that you're using RCU locking and don't need the scsi host_lock.