Commit 0c6c987f authored by Nikolay Borisov's avatar Nikolay Borisov Committed by Jonathan Corbet

dm flakey: Document "error_writes" feature

Commit ef548c55 ("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: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent bc0e5262
...@@ -33,6 +33,10 @@ Optional feature parameters: ...@@ -33,6 +33,10 @@ Optional feature parameters:
All write I/O is silently ignored. All write I/O is silently ignored.
Read I/O is handled correctly. 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>: corrupt_bio_byte <Nth_byte> <direction> <value> <flags>:
During <down interval>, replace <Nth_byte> of the data of During <down interval>, replace <Nth_byte> of the data of
each matching bio with <value>. each matching bio with <value>.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment