]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: use helper function to test hw stopped
authorYufen Yu <yuyufen@huawei.com>
Fri, 9 Oct 2020 03:26:30 +0000 (23:26 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 Oct 2020 18:34:06 +0000 (12:34 -0600)
commit10ab4f4442096140ecf52ab7c329b11a97e62aef
tree115803c9cd3f810bedbfc2e18642dbdf31d8924e
parent82cb7c291cfdd8df36923383b3a119a6e4440265
blk-mq: use helper function to test hw stopped

We have introduced helper function blk_mq_hctx_stopped() to test
BLK_MQ_S_STOPPED.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c