summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorHyeongseok Kim <hyeongseok@gmail.com>2020-12-03 09:46:59 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-06 14:45:01 +0100
commit63d881957e59dde38f38100631ae138d5c0cee88 (patch)
treeadd2e80ffafc98162be92c75a4804f1e266f0df4 /lib/mpi/mpi-internal.h
parent5ec9c5d260adc6d6b599aa4df5358f6ad25c3fcc (diff)
downloadlinux-63d881957e59dde38f38100631ae138d5c0cee88.tar.gz
linux-63d881957e59dde38f38100631ae138d5c0cee88.tar.bz2
linux-63d881957e59dde38f38100631ae138d5c0cee88.zip
dm verity: skip verity work if I/O error when system is shutting down
[ Upstream commit 252bd1256396cebc6fc3526127fdb0b317601318 ] If emergency system shutdown is called, like by thermal shutdown, a dm device could be alive when the block device couldn't process I/O requests anymore. In this state, 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 a misjudgment. So, skip verity work in response to I/O error when system is shutting down. Signed-off-by: Hyeongseok Kim <hyeongseok@gmail.com> Reviewed-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions