Re: [PATCH v2 4/5] scsi: Add scsi_restart_hctx()

Christoph Hellwig
2017-04-05T06:20:20Z

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.