]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dm-verity: Document restart_on_error and panic_on_error options
authorMilan Broz <gmazyland@gmail.com>
Wed, 29 Jan 2025 12:58:55 +0000 (13:58 +0100)
committerMikulas Patocka <mpatocka@redhat.com>
Mon, 3 Feb 2025 13:10:10 +0000 (14:10 +0100)
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>
Documentation/admin-guide/device-mapper/verity.rst

index a65c1602cb2391277310fcf636c105b0616fccd3..fb3a045d0c7220076b906c3394b763e5e212de59 100644 (file)
@@ -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