diff options
author | Akilesh Kailash <akailash@google.com> | 2021-09-13 12:26:42 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-10-12 20:54:09 +0300 |
commit | 2c0468e054c0adb660ac055fc396622ec7235df9 (patch) | |
tree | 6d8e727d603fd387f3d273f5fb83892f5b3b1bdf /drivers/md/dm-stripe.c | |
parent | 64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff) | |
download | linux-2c0468e054c0adb660ac055fc396622ec7235df9.tar.xz |
dm verity: skip redundant verity_handle_err() on I/O errors
Without FEC, dm-verity won't call verity_handle_err() when I/O fails,
but with FEC enabled, it currently does even if an I/O error has
occurred.
If there is an I/O error and FEC correction fails, return the error
instead of calling verity_handle_err() again.
Suggested-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Akilesh Kailash <akailash@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-stripe.c')
0 files changed, 0 insertions, 0 deletions