summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2025-01-29 13:58:55 +0100
committerMikulas Patocka <mpatocka@redhat.com>2025-02-03 14:10:10 +0100
commit82596487635012460c19d4dd257d5d59147cbf27 (patch)
tree56f78f51348136f8f53ee8979c67fbd39d132f13 /Documentation
parentf656fa4013388a52d1fdd82268955c5e7be63ad2 (diff)
dm-verity: Document restart_on_error and panic_on_error options
This patch adds documentation for options introduced in commit f811b83879fb ("dm-verity: introduce the options restart_on_error and panic_on_error"). Signed-off-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/admin-guide/device-mapper/verity.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/admin-guide/device-mapper/verity.rst b/Documentation/admin-guide/device-mapper/verity.rst
index a65c1602cb23..fb3a045d0c72 100644
--- a/Documentation/admin-guide/device-mapper/verity.rst
+++ b/Documentation/admin-guide/device-mapper/verity.rst
@@ -87,6 +87,15 @@ panic_on_corruption
Panic the device when a corrupted block is discovered. This option is
not compatible with ignore_corruption and restart_on_corruption.
+restart_on_error
+ Restart the system when an I/O error is detected.
+ This option can be combined with the restart_on_corruption option.
+
+panic_on_error
+ Panic the device when an I/O error is detected. This option is
+ not compatible with the restart_on_error option but can be combined
+ with the panic_on_corruption option.
+
ignore_zero_blocks
Do not verify blocks that are expected to contain zeroes and always return
zeroes instead. This may be useful if the partition contains unused blocks