blk-mq: Relocate hctx_may_queue()
authorJohn Garry <john.garry@huawei.com>
Wed, 19 Aug 2020 15:20:25 +0000 (23:20 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Sep 2020 21:20:47 +0000 (15:20 -0600)
commita0235d230f3245aa4bd70b514d5effb24be61acd
tree6a1bec801b10efc12e6a3dcec35df21731a47ff7
parent32bc15afed04bd73e29d713d8db47818d6aa89af
blk-mq: Relocate hctx_may_queue()

blk-mq.h and blk-mq-tag.h include on each other, which is less than ideal.

Locate hctx_may_queue() to blk-mq.h, as it is not really tag specific code.

In this way, we can drop the blk-mq-tag.h include of blk-mq.h

Signed-off-by: John Garry <john.garry@huawei.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq-tag.h
block/blk-mq.h