lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230317091716.4150992-1-yi.zhang@huaweicloud.com>
Date:   Fri, 17 Mar 2023 17:17:13 +0800
From:   Zhang Yi <yi.zhang@...weicloud.com>
To:     linux-ext4@...r.kernel.org
Cc:     tytso@....edu, adilger.kernel@...ger.ca, jack@...e.cz,
        yi.zhang@...wei.com, yi.zhang@...weicloud.com, yukuai3@...wei.com
Subject: [PATCH v2 0/3] e2fsprogs: journal cycled record transactions between each mount

From: Zhang Yi <yi.zhang@...wei.com>

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@huaweicloud.com/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ