summaryrefslogtreecommitdiff
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-10-09 11:31:31 +0300
committerJonathan Corbet <corbet@lwn.net>2018-10-12 11:31:39 -0600
commit0c6c987f3706fedff42eee5384c7ede8a910c4ed (patch)
tree5c90fead645c4f2ca3f1e911d9588b5a4259a2ba /Documentation/device-mapper
parentbc0e5262d3a06cd48a5aed90a817623ec16dc5c4 (diff)
downloadlwn-0c6c987f3706fedff42eee5384c7ede8a910c4ed.tar.gz
lwn-0c6c987f3706fedff42eee5384c7ede8a910c4ed.zip
dm flakey: Document "error_writes" feature
Commit ef548c551e72 ("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>
Diffstat (limited to 'Documentation/device-mapper')
-rw-r--r--Documentation/device-mapper/dm-flakey.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/device-mapper/dm-flakey.txt b/Documentation/device-mapper/dm-flakey.txt
index c43030718cef..9f0e247d0877 100644
--- a/Documentation/device-mapper/dm-flakey.txt
+++ b/Documentation/device-mapper/dm-flakey.txt
@@ -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>.