blk-mq: Explain when 'active_queues' is decremented
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 10 Jan 2018 16:33:33 +0000 (08:33 -0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Jan 2018 16:45:29 +0000 (09:45 -0700)
commitfcd36c36f381f534adad5a6c6485db4405d5ea42
tree1f97dc35dc4382215a15a5112fc559b1b5dd7f2d
parent5f15684bd5e5ef39d4337988864fec8012471dda
blk-mq: Explain when 'active_queues' is decremented

It is nontrivial to derive from the blk-mq source code when
blk_mq_tags.active_queues is decremented. Hence add a comment that
explains this.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c