Skip to content

Commit

Permalink
dm flakey: Document "error_writes" feature
Browse files Browse the repository at this point in the history
Commit ef548c5 ("dm flakey: introduce "error_writes" feature")
added the ability to dm flakey to error out writes in contrast to
silently dropping it with 'drop_writes'. Unfortunately this feature
is not currently documented and one has to be either familiar with the
source code of dm flakey or check out xfstests sources to know of
this parameter. So document it.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
lorddoskias authored and Jonathan Corbet committed Oct 12, 2018
1 parent bc0e526 commit 0c6c987
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/device-mapper/dm-flakey.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Optional feature parameters:
All write I/O is silently ignored.
Read I/O is handled correctly.

error_writes:
All write I/O is failed with an error signalled.
Read I/O is handled correctly.

corrupt_bio_byte <Nth_byte> <direction> <value> <flags>:
During <down interval>, replace <Nth_byte> of the data of
each matching bio with <value>.
Expand Down

0 comments on commit 0c6c987

Please sign in to comment.