summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/device-mapper
diff options
context:
space:
mode:
authorJeongHyeon Lee <jhs2.lee@samsung.com>2020-06-18 08:56:50 +0200
committerMike Snitzer <snitzer@redhat.com>2020-07-13 17:47:33 +0200
commite1fef0b08e06dcce275bd585bc6a900dff395096 (patch)
tree761336e1a822cf7f88504cb527eba34ef762c8a8 /Documentation/admin-guide/device-mapper
parentdm mpath: use double checked locking in fast path (diff)
downloadlinux-e1fef0b08e06dcce275bd585bc6a900dff395096.tar.xz
linux-e1fef0b08e06dcce275bd585bc6a900dff395096.zip
dm verity: add "panic_on_corruption" error handling mode
Samsung smart phones may need the ability to panic on corruption. Not all devices provide the bootloader support needed to use the existing "restart_on_corruption" mode. Additional details for why Samsung needs this new mode can be found here: https://www.redhat.com/archives/dm-devel/2020-June/msg00235.html Signed-off-by: jhs2.lee <jhs2.lee@samsung.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/device-mapper')
-rw-r--r--Documentation/admin-guide/device-mapper/verity.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/admin-guide/device-mapper/verity.rst b/Documentation/admin-guide/device-mapper/verity.rst
index bb02caa45289..66f71f0dab1b 100644
--- a/Documentation/admin-guide/device-mapper/verity.rst
+++ b/Documentation/admin-guide/device-mapper/verity.rst
@@ -83,6 +83,10 @@ restart_on_corruption
not compatible with ignore_corruption and requires user space support to
avoid restart loops.
+panic_on_corruption
+ Panic the device when a corrupted block is discovered. This option is
+ not compatible with ignore_corruption and restart_on_corruption.
+
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