]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: reimplement blk_mq_hw_queue_mapped
authorMing Lei <ming.lei@redhat.com>
Sun, 8 Apr 2018 09:48:13 +0000 (17:48 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 10 Apr 2018 14:38:46 +0000 (08:38 -0600)
commit9ed7a15ed2b2a8407afda1152125828ae91a6fc4
tree7d503a3a1ecaa0c67fcd7c6e349b7845cfb0d9fa
parent3363e1350f888cb9145a593f28789c21cf02ebcf
blk-mq: reimplement blk_mq_hw_queue_mapped

Now the actual meaning of queue mapped is that if there is any online
CPU mapped to this hctx, so implement blk_mq_hw_queue_mapped() in this
way.

Cc: Stefan Haberland <sth@linux.vnet.ibm.com>
Tested-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.h