[PATCH V3 6/6] blk-mq: support concurrent queue quiesce/unquiesce

Christoph Hellwig hch at lst.de
Tue Oct 12 08:08:27 PDT 2021


On Tue, Oct 12, 2021 at 11:06:51PM +0800, Ming Lei wrote:
> > We can get rid of the QUEUE_FLAG_QUIESCED flag now and just look
> > at ->quiesce_depth directly.
> 
> I'd rather not to do that given we need to check QUEUE_FLAG_QUIESCED in fast
> path.

Checking an integer vs checking a bit is easier actually faster or at
least the same speed depending on the architecture / micro architecture.



More information about the Linux-nvme mailing list