[PATCH v2 0/2] Make I/O timeout failure injection again task-independent

From: Bart Van Assche
Date: Tue Aug 22 2017 - 19:01:48 EST


Hello Andrew,

A recent change in the fault injection code introduced an undesired change
in the behavior of the I/O timeout failure injection code. This series
restores the original behavior. Please consider these patches for kernel
v4.14.

Thanks,

Bart.

Changes compared to v1:
- Fixed build with CONFIG_FAIL_PAGE_ALLOC, CONFIG_FAIL_IO_TIMEOUT and/or
CONFIG_FAIL_FUTEX enabled.

Bart Van Assche (2):
fault-inject: Restore support for task-independent fault injection
block: Make I/O timeout failure injection again task-independent

block/blk-timeout.c | 2 +-
include/linux/fault-inject.h | 11 +++++++++--
lib/fault-inject.c | 4 +++-
3 files changed, 13 insertions(+), 4 deletions(-)

--
2.14.0