Skip to content

Commit 8259648

Browse files
mbrozMikulas Patocka
authored andcommitted
dm-verity: Document restart_on_error and panic_on_error options
This patch adds documentation for options introduced in commit f811b83 ("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>
1 parent f656fa4 commit 8259648

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Documentation/admin-guide/device-mapper/verity.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ panic_on_corruption
8787
Panic the device when a corrupted block is discovered. This option is
8888
not compatible with ignore_corruption and restart_on_corruption.
8989

90+
restart_on_error
91+
Restart the system when an I/O error is detected.
92+
This option can be combined with the restart_on_corruption option.
93+
94+
panic_on_error
95+
Panic the device when an I/O error is detected. This option is
96+
not compatible with the restart_on_error option but can be combined
97+
with the panic_on_corruption option.
98+
9099
ignore_zero_blocks
91100
Do not verify blocks that are expected to contain zeroes and always return
92101
zeroes instead. This may be useful if the partition contains unused blocks

0 commit comments

Comments
 (0)