Mikulas Patocka f8fee36515 dm integrity: flush the journal on suspend
[ Upstream commit 5e5dab5ec763d600fe0a67837dd9155bdc42f961 ]

This commit flushes the journal on suspend. It is prerequisite for the
next commit that enables activating dm integrity devices in read-only mode.

Note that we deliberately didn't flush the journal on suspend, so that the
journal replay code would be tested. However, the dm-integrity code is 5
years old now, so that journal replay is well-tested, and we can make this
change now.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-08 11:23:01 +01:00
..
2021-01-27 11:47:42 +01:00
2019-09-12 09:32:31 -04:00
2022-09-05 10:27:44 +02:00
2022-10-26 13:23:00 +02:00
2019-03-12 10:15:18 -07:00
2022-08-25 11:17:25 +02:00