diff options
author | JeongHyeon Lee <jhs2.lee@samsung.com> | 2020-06-18 09:56:50 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-07-13 18:47:33 +0300 |
commit | e1fef0b08e06dcce275bd585bc6a900dff395096 (patch) | |
tree | 761336e1a822cf7f88504cb527eba34ef762c8a8 /Documentation | |
parent | 374117ad4736c5a4f8012cfe59fc07d9d58191d5 (diff) | |
download | linux-e1fef0b08e06dcce275bd585bc6a900dff395096.tar.xz |
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')
-rw-r--r-- | Documentation/admin-guide/device-mapper/verity.rst | 4 |
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 |