]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dm vdo: force read-only mode for a corrupt recovery journal
authorSusan LeGendre-McGhee <slegendr@redhat.com>
Tue, 30 Jul 2024 21:18:07 +0000 (17:18 -0400)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 21 Aug 2024 11:12:12 +0000 (13:12 +0200)
commit448c4e4eb1901543259c038ed08266c250f5b079
tree48e6cde1a05fc1dc00468bd76aa67c842748d746
parentf3ff668352c59db2c0ab47f2e86488a70694ed57
dm vdo: force read-only mode for a corrupt recovery journal

Ensure the recovery journal does not attempt recovery when blocks
with mismatched metadata versions are detected. This check is
performed after determining that the blocks are otherwise valid
so that it does not interfere with normal recovery.

Signed-off-by: Susan LeGendre-McGhee <slegendr@redhat.com>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-vdo/repair.c
drivers/md/dm-vdo/status-codes.c
drivers/md/dm-vdo/status-codes.h