Files
android_kernel_xiaomi_sm8450/Documentation/device-mapper
Sami Tolvanen 65ff5b7ddf dm verity: add error handling modes for corrupted blocks
Add device specific modes to dm-verity to specify how corrupted
blocks should be handled.  The following modes are defined:

  - DM_VERITY_MODE_EIO is the default behavior, where reading a
    corrupted block results in -EIO.

  - DM_VERITY_MODE_LOGGING only logs corrupted blocks, but does
    not block the read.

  - DM_VERITY_MODE_RESTART calls kernel_restart when a corrupted
    block is discovered.

In addition, each mode sends a uevent to notify userspace of
corruption and to allow further recovery actions.

The driver defaults to previous behavior (DM_VERITY_MODE_EIO)
and other modes can be enabled with an additional parameter to
the verity table.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
2015-04-15 12:10:22 -04:00
..
2007-05-09 12:30:47 -07:00
2005-04-16 15:20:36 -07:00
2011-03-31 11:26:23 -03:00
2007-10-20 02:01:26 +01:00
2014-03-27 16:56:23 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2013-09-05 20:46:06 -04:00
2005-04-16 15:20:36 -07:00