]> git.baikalelectronics.ru Git - kernel.git/commit
null_blk: describe the usage of fault injection param
authorDongli Zhang <dongli.zhang@oracle.com>
Thu, 12 Mar 2020 22:01:40 +0000 (15:01 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Mar 2020 00:54:28 +0000 (18:54 -0600)
commit254808548c94f90a9e1f5452fc7f15152e32b8d8
treea9b9e3bd57071f7e4fc72e34c5b56174e2132b47
parent1e9d933b666cab8322a1511a336f10053c60f7bc
null_blk: describe the usage of fault injection param

As null_blk is a very good start point to test block layer, this patch
adds description and comments to 'timeout', 'requeue' and 'init_hctx' to
explain how to use fault injection with null_blk.

The nvme has similar with nvme_core.fail_request in the form of comment.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk_main.c