Hyeongseok Kim
41ae3e574c
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>
2021-01-06 14:48:41 +01:00
..
2020-10-01 13:17:18 +02:00
2020-09-09 19:12:36 +02:00
2018-06-08 11:53:14 -04:00
2018-06-08 11:53:14 -04:00
2020-03-25 08:25:48 +01:00
2019-09-13 17:00:21 -04:00
2017-11-02 11:10:55 +01:00
2018-04-30 15:40:40 -04:00
2020-09-09 19:12:35 +02:00
2018-10-16 14:34:59 -04:00
2020-03-12 13:00:23 +01:00
2020-04-17 10:50:24 +02:00
2020-04-17 10:50:23 +02:00
2020-04-17 10:50:24 +02:00
2019-04-04 15:33:59 -04:00
2020-09-09 19:12:35 +02:00
2019-04-26 11:29:32 -04:00
2019-08-21 11:27:17 -04:00
2019-05-21 10:50:45 +02:00
2019-05-16 15:55:48 -07:00
2019-07-11 20:04:37 -06:00
2019-07-15 11:03:01 -03:00
2020-09-09 19:12:35 +02:00
2018-06-05 08:47:43 -06:00
2020-12-30 11:51:18 +01:00
2019-08-15 15:57:39 -04:00
2019-07-11 20:04:37 -06:00
2018-05-30 15:33:32 -06:00
2019-07-09 14:13:33 -04:00
2020-09-09 19:12:35 +02:00
2018-01-29 13:44:58 -05:00
2019-08-26 11:05:32 -04:00
2019-09-11 16:18:23 -04:00
2018-06-12 18:28:00 -07:00
2020-08-21 13:05:33 +02:00
2019-03-05 14:48:50 -05:00
2018-01-29 13:44:58 -05:00
2020-01-23 08:22:32 +01:00
2019-10-10 09:46:05 -04:00
2019-09-04 09:39:22 -04:00
2017-11-02 11:10:55 +01:00
2018-05-22 23:18:31 -07:00
2019-03-05 14:48:51 -05:00
2018-10-11 11:36:09 -04:00
2020-12-30 11:50:57 +01:00
2019-04-25 15:38:52 -04:00
2020-09-09 19:12:36 +02:00
2019-12-21 11:05:01 +01:00
2020-02-24 08:36:49 +01:00
2019-05-30 11:26:35 -07:00
2019-05-30 11:26:35 -07:00
2018-12-18 09:02:26 -05:00
2020-05-06 08:15:10 +02:00
2019-05-30 11:26:32 -07:00
2021-01-06 14:48:41 +01:00
2019-08-23 10:13:14 -04:00
2019-08-23 10:13:14 -04:00
2019-08-23 10:13:14 -04:00
2020-12-11 13:23:33 +01:00
2020-06-24 17:50:31 +02:00
2020-06-24 17:50:31 +02:00
2020-07-09 09:37:57 +02:00
2019-12-17 19:56:12 +01:00
2020-12-11 13:23:30 +01:00
2019-08-23 10:13:12 -04:00
2019-09-12 09:32:31 -04:00
2019-09-12 09:32:31 -04:00
2020-11-05 11:43:20 +01:00
2018-08-01 15:49:39 -07:00
2020-12-30 11:51:45 +01:00
2018-10-18 09:36:35 -07:00
2019-05-24 17:27:13 +02:00
2019-12-17 19:56:14 +01:00
2017-11-14 16:07:26 -08:00
2019-12-17 19:56:14 +01:00
2018-05-30 15:33:32 -06:00
2020-12-30 11:51:45 +01:00
2019-12-17 19:56:14 +01:00
2020-01-23 08:22:32 +01:00
2019-09-13 13:10:05 -07:00
2019-06-15 01:37:35 -06:00
2020-01-09 10:19:48 +01:00
2018-05-30 15:33:32 -06:00
2019-06-05 17:36:37 +02:00
2019-03-12 10:15:18 -07:00
2019-06-05 17:36:37 +02:00
2020-11-05 11:43:22 +01:00
2019-09-13 13:14:43 -07:00
2021-01-06 14:48:35 +01:00
2018-05-30 15:33:32 -06:00