[PATCH v2 0/3] 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>

v1->v2:
 - Remove the document about journal_cycle_record mount option.

Hello!

This is the e2fsprogs part of the ext4 journal cycled record
transactions option feature(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. Passed
functional tests.

Thanks,
Yi.

[1] https://lore.kernel.org/linux-ext4/20230317090926.4149399-1-yi.zhang@xxxxxxxxxxxxxxx/

Zhang Yi (3):
  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

 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 +
 6 files changed, 48 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