[PATCH v3 02/11] blk-mq: Introduce blk_mq_hctx_stopped()

Christoph Hellwig hch at lst.de
Wed Oct 19 06:19:00 PDT 2016


On Tue, Oct 18, 2016 at 02:49:09PM -0700, Bart Van Assche wrote:
> Multiple functions test the BLK_MQ_S_STOPPED bit so introduce
> a helper function that performs this test.

Looks sensible.  Any reason to have it in the public blk-mq.h instead
of the private one, though?  I see that dm is using it with this patch,
but that usage should go away once your full series is merged, right?



More information about the Linux-nvme mailing list