]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: update comment for blk_mq_hctx_has_pending()
authorYufen Yu <yuyufen@huawei.com>
Sun, 24 Mar 2019 09:57:08 +0000 (17:57 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 24 Mar 2019 16:26:17 +0000 (10:26 -0600)
commit5ae6c3142b48dd77a677191a403e3d166f49b2e0
treebe8c8ee94ce85df4e09a10b915f0abff5fc64127
parent0de55f05c8b601e50e805c37483eba91f53392be
blk-mq: update comment for blk_mq_hctx_has_pending()

For now, blk_mq_hctx_has_pending() checks any of ctx, hctx->dispatch
or io scheduler have pending work. So, update the comment accordingly.

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