mbox series

[0/2] dm vdo recovery: improve old journal format handling

Message ID cover.1723249375.git.msakai@redhat.com (mailing list archive)
Headers show
Series dm vdo recovery: improve old journal format handling | expand

Message

Matthew Sakai Aug. 10, 2024, 2:47 a.m. UTC
Some older out-of-tree versions of vdo use a format for recovery
journal entries that cannot be processed by the current recovery
code. For vdo volumes created with these older versions, reduce
the likelihood of entering read-only mode.

This will ease the transition of older volumes to the in-kernel
dm-vdo target.

Susan LeGendre-McGhee (2):
  dm vdo: abort loading dirty VDO with the old recovery journal format
  dm vdo: force read-only mode for a corrupt recovery journal

 drivers/md/dm-vdo/dm-vdo-target.c | 24 +++++++++++++++++-
 drivers/md/dm-vdo/repair.c        | 41 +++++++++++++++++--------------
 drivers/md/dm-vdo/status-codes.c  |  2 +-
 drivers/md/dm-vdo/status-codes.h  |  2 +-
 4 files changed, 47 insertions(+), 22 deletions(-)