]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb8a4bd92ad35b9b9354a9da012945c5887c10ba
tree6a1bec801b10efc12e6a3dcec35df21731a47ff7
parent99a8dd3f1c350f04388fd876763be29d6afb1592
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