Whamcloud - gitweb
Patch to allow disabling devices for testing failure/recovery scenarios.
authoradilger <adilger>
Fri, 29 Mar 2002 12:57:46 +0000 (12:57 +0000)
committeradilger <adilger>
Fri, 29 Mar 2002 12:57:46 +0000 (12:57 +0000)
commit78cb3ce5a9b6ae11960c6ce3be4bc118d15dda92
tree39c7511c1176b5ed7b10c7890c7ec1e22c265f3b
parente54e9cbbb8330ae36b81b33cde2506cbf2f229f9
Patch to allow disabling devices for testing failure/recovery scenarios.
By itself this patch does not enable failure testing, but when it is
applied to the kernel, the OBD_FAIL_WRITE() call will activate it.

Patch currently supports loopback, IDE, and UML ubd failures (ignore patch
reject for ubc.c if not using UML).

Enable MDS write failure testing via "echo <num> > /proc/sys/lustre/fail_loc"
where <num> is the number of a write failure breakpoint (OBD_FAIL_MDS_*_WRITE
as defined in the enum in obd_support.h).
lustre/patches/rdonly-2.4.17.diff [new file with mode: 0644]