diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2015-12-03 14:26:31 +0000 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2016-04-07 16:50:06 +0530 |
commit | 4cd7f1ecf798206533dfc11279c9264198e5c3bf (patch) | |
tree | 2947787d61d8fffeb5cbf7d647eaed915a72fbe9 /Documentation/device-mapper | |
parent | d5fe9722ab2ef9ac6232164204d3b1d04d3ab75c (diff) |
UPSTREAM: dm verity: add ignore_zero_blocks feature
If ignore_zero_blocks is enabled dm-verity will return zeroes for blocks
matching a zero hash without validating the content.
Change-Id: I728fa4b2586b29f2793ea5cb014289892819d249
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
(cherry picked from commit 0cc37c2df4fa0aa702f9662edce4b7ce12c86b7a)
Diffstat (limited to 'Documentation/device-mapper')
-rw-r--r-- | Documentation/device-mapper/verity.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/device-mapper/verity.txt b/Documentation/device-mapper/verity.txt index d602c801ff59..89fd8f9a259f 100644 --- a/Documentation/device-mapper/verity.txt +++ b/Documentation/device-mapper/verity.txt @@ -79,6 +79,11 @@ restart_on_corruption not compatible with ignore_corruption and requires user space support to avoid restart loops. +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 + that are not guaranteed to contain zeroes. + use_fec_from_device <fec_dev> Use forward error correction (FEC) to recover from corruption if hash verification fails. Use encoding data from the specified device. This |