]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: create a helper for throttling
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Fri, 23 Aug 2019 04:45:15 +0000 (21:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Aug 2019 12:58:04 +0000 (06:58 -0600)
commit454676dc9c04f1e888e696855bde0b52ef956e03
tree3f8faf3f7bd9648034999249b651f2676f3b3d1d
parentaf7332c4934c085edb923c894dc44a888e58046d
null_blk: create a helper for throttling

This patch creates a helper for handling throttling code in the
null_handle_cmd().

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c