]> www.infradead.org Git - users/hch/blktests.git/commit
Add a test that triggers the blk_mq_realloc_hw_ctxs() error path
authorBart Van Assche <bvanassche@acm.org>
Sat, 28 Mar 2020 18:22:51 +0000 (11:22 -0700)
committerOmar Sandoval <osandov@fb.com>
Wed, 8 Apr 2020 22:04:19 +0000 (15:04 -0700)
commita668c61064f2b08f895338562fbc2f2e2849d052
treecdfdd207835aa76fb500ec3d80405c2ef5b03b45
parent2677c8a0851bcdd86599d900827401b25ae96cf8
Add a test that triggers the blk_mq_realloc_hw_ctxs() error path

Add a test that triggers the code touched by commit d0930bb8f46b ("blk-mq:
Fix a recently introduced regression in blk_mq_realloc_hw_ctxs()"). This
test only runs if a recently added fault injection feature is available,
namely commit 596444e75705 ("null_blk: Add support for init_hctx() fault
injection").

Cc: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
tests/block/030 [new file with mode: 0755]
tests/block/030.out [new file with mode: 0644]