block: add fault injection mechanism for faking request timeouts
authorJens Axboe <jens.axboe@oracle.com>
Sun, 14 Sep 2008 12:56:33 +0000 (05:56 -0700)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:17 +0000 (08:56 +0200)
commit581d4e28d9195aa8b2231383dbabc288988d615e
tree093bcac9a538ef67edcf91826f7532bdb88e6248
parent0a0d96b03a1f3bfd6bc3ea08008699e8e59fccd9
block: add fault injection mechanism for faking request timeouts

Only works for the generic request timer handling. Allows one to
sporadically ignore request completions, thus exercising the timeout
handling.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-softirq.c
block/blk-timeout.c
block/blk.h
block/genhd.c
include/linux/blkdev.h
lib/Kconfig.debug