diff options
| author | Hyeongseok Kim <hyeongseok@gmail.com> | 2020-12-08 22:46:49 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2021-03-16 01:27:01 -0700 |
| commit | 46d65055583685de8ac2ea342190e22b3e8157f5 (patch) | |
| tree | 56bf5e291c4df412c0fefb2706018f7eda11925b /lib/flex_array.c | |
| parent | 1d16e8baa89dd5f7cf5a0be8020e413589928efe (diff) | |
dm verity: skip verity work on I/O errors when system is shutting down
If emergency system shutdown is called, like by thermal shutdown,
dm device could be alive when the block device couldn't process
I/O requests anymore. In this status, the handling of I/O errors
by new dm I/O requests or by those already in-flight can lead to
a verity corruption state, which is misjudgment.
So, skip verity work for I/O error when system is shutting down.
Change-Id: I7b2e79283bb5810cefe688bf43b9ae97030ce917
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com>
Patch-mainline: dm-devel @ 12/03/20, 00:46
Signed-off-by: Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions
