summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-policy.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2022-11-15 20:51:50 +0300
committerMike Snitzer <snitzer@kernel.org>2022-11-18 19:05:09 +0300
commit984bf2cc531e778e49298fdf6730e0396166aa21 (patch)
treec3a78e764056fff180d9979e7fbda78b18ae41e2 /drivers/md/dm-cache-policy.h
parent5e5dab5ec763d600fe0a67837dd9155bdc42f961 (diff)
downloadlinux-984bf2cc531e778e49298fdf6730e0396166aa21.tar.xz
dm integrity: clear the journal on suspend
There was a problem that a user burned a dm-integrity image on CDROM and could not activate it because it had a non-empty journal. Fix this problem by flushing the journal (done by the previous commit) and clearing the journal (done by this commit). Once the journal is cleared, dm-integrity won't attempt to replay it on the next activation. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-cache-policy.h')
0 files changed, 0 insertions, 0 deletions