]> git.baikalelectronics.ru Git - kernel.git/commit
block: move blk_mq_sched_assign_ioc to blk-ioc.c
authorChristoph Hellwig <hch@lst.de>
Fri, 26 Nov 2021 11:58:10 +0000 (12:58 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:41:29 +0000 (06:41 -0700)
commit229b57d17ccbfea5a3d1c4e4c82faae19cc4a596
tree4a1486a7bda709766ec38214da8adb2850fd2554
parent31957b6824e9c08c5a81c8670ace12726cca092a
block: move blk_mq_sched_assign_ioc to blk-ioc.c

Move blk_mq_sched_assign_ioc so that many interfaces from the file can
be marked static.  Rename the function to ioc_find_get_icq as well and
return the icq to simplify the interface.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211126115817.2087431-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c
block/blk-ioc.c
block/blk-mq-sched.c
block/blk-mq-sched.h
block/blk.h