On 10/6/19 4:45 AM, Ming Lei wrote: > Add a new hw queue state of BLK_MQ_S_INTERNAL_STOPPED, which prepares > for stopping hw queue before all CPUs of this hctx become offline. > > We can't reuse BLK_MQ_S_STOPPED because that state can be cleared during IO > completion. > > Cc: Bart Van Assche <[email protected]> > Cc: Hannes Reinecke <[email protected]> > Cc: Christoph Hellwig <[email protected]> > Cc: Thomas Gleixner <[email protected]> > Cc: Keith Busch <[email protected]> > Signed-off-by: Ming Lei <[email protected]> > --- > block/blk-mq-debugfs.c | 1 + > block/blk-mq.h | 3 ++- > include/linux/blk-mq.h | 3 +++ > 3 files changed, 6 insertions(+), 1 deletion(-) > Reviewed-by: Hannes Reinecke <[email protected]>
Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking [email protected] +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 247165 (AG München), GF: Felix Imendörffer
