]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add configfs variables for 2 options
authorVincent Fu <vincent.fu@samsung.com>
Fri, 8 Jul 2022 17:49:49 +0000 (17:49 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 2 Aug 2022 23:15:02 +0000 (17:15 -0600)
commit0c217f21131709c6befc4db6ec7838799626be43
tree27cd39a03419b4c26956741c514f31ab731f7187
parent01ca19ac45601a373d365fff68931d75dc916d3c
null_blk: add configfs variables for 2 options

Allow setting via configfs these two options:

no_sched
shared_tag_bitmap

Previously these could only be activated as module parameters.

Still missing are:

shared_tags
timeout
requeue
init_hctx

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220708174943.87787-3-vincent.fu@samsung.com
[axboe: fold in nullb == NULL fix]
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk/main.c
drivers/block/null_blk/null_blk.h