]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: add module parameters for 4 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:14:50 +0000 (17:14 -0600)
commit01ca19ac45601a373d365fff68931d75dc916d3c
treeb8903aafe78fb95b727a58174aa0955c2f8bb34f
parent626227808e3e4938385b0e5fdb1493dde1b6eb67
null_blk: add module parameters for 4 options

Add as module parameters these options:

memory_backed
discard
mbps
cache_size

Previously these could only be set via configfs.

Still missing is bad_blocks.

The kernel test robot found a documentation formatting issue in v1 of
this patch.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Link: https://lore.kernel.org/r/20220708174943.87787-2-vincent.fu@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/block/null_blk.rst
drivers/block/null_blk/main.c