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)
commit85fae294e1a506b4213668716acb586bd6b4ae1e
treebe8c8ee94ce85df4e09a10b915f0abff5fc64127
parent13f063815265c5397ee92d84436804bc9fb6b58b
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