summaryrefslogtreecommitdiff
path: root/drivers/md/dm-stripe.c
diff options
context:
space:
mode:
authorAkilesh Kailash <akailash@google.com>2021-09-13 12:26:42 +0300
committerMike Snitzer <snitzer@redhat.com>2021-10-12 20:54:09 +0300
commit2c0468e054c0adb660ac055fc396622ec7235df9 (patch)
tree6d8e727d603fd387f3d273f5fb83892f5b3b1bdf /drivers/md/dm-stripe.c
parent64570fbc14f8d7cb3fe3995f20e26bc25ce4b2cc (diff)
downloadlinux-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