summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2023-04-18 22:56:41 +0300
committerMike Snitzer <snitzer@kernel.org>2023-04-19 18:13:43 +0300
commitaa7d7bc99fed71664e9a241b32294ee15a88d938 (patch)
tree730a8a5b87dff835dca812bd95ffbc7d575e9965 /Documentation/admin-guide
parente3675dc1e7ea2e4e5a6527fa7068e9fcbc2475cc (diff)
downloadlinux-aa7d7bc99fed71664e9a241b32294ee15a88d938.tar.xz
dm flakey: add an "error_reads" option
dm-flakey returns error on reads if no other argument is specified. This commit simplifies associated logic while formalizing an "error_reads" argument and an ERROR_READS flag. If no argument is specified, set ERROR_READS flag so that it behaves just like before this commit. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'Documentation/admin-guide')
-rw-r--r--Documentation/admin-guide/device-mapper/dm-flakey.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/device-mapper/dm-flakey.rst b/Documentation/admin-guide/device-mapper/dm-flakey.rst
index 86138735879d..f7104c01b0f7 100644
--- a/Documentation/admin-guide/device-mapper/dm-flakey.rst
+++ b/Documentation/admin-guide/device-mapper/dm-flakey.rst
@@ -39,6 +39,10 @@ Optional feature parameters:
If no feature parameters are present, during the periods of
unreliability, all I/O returns errors.
+ error_reads:
+ All read I/O is failed with an error signalled.
+ Write I/O is handled correctly.
+
drop_writes:
All write I/O is silently ignored.
Read I/O is handled correctly.