[PATCH 0/4] e2fsprogs: journal cycled record transactions between each mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zhang Yi <yi.zhang@xxxxxxxxxx>

Hello!

This is the e2fsprogs part of the ext4 journal_cycle_record mount
option(corresponding kernel part is at [1]). It add a new parameter to
record the journal head of a clean filesystem, mke2fs initialize it to
the start of journal area, and e2fsck check and fix it if it's bad, and
also update it after recovering journal. Basic functional tests have
been passed.

Thanks,
Yi.

[1] https://lore.kernel.org/linux-ext4/20230314140522.3266591-1-yi.zhang@xxxxxxxxxxxxxxx/T/#t

Zhang Yi (4):
  lib/ext2fs: record and show journal head block
  debugfs/e2fsck: update the journal head block after recovery
  debugfs/e2fsck: check bad s_head block number
  ext4.5: document the journal_cycle_record mount options

 debugfs/journal.c       | 10 +++++++++-
 e2fsck/journal.c        | 15 ++++++++++++++-
 e2fsck/recovery.c       | 21 +++++++++++++++++----
 lib/e2p/ljs.c           |  3 +++
 lib/ext2fs/kernel-jbd.h |  6 ++++--
 lib/ext2fs/mkjournal.c  |  1 +
 misc/ext4.5.in          |  6 ++++++
 7 files changed, 54 insertions(+), 8 deletions(-)

-- 
2.31.1




[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux