public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] ext4: Fix stale buffer loading from last failed
@ 2023-03-15  1:31 Zhihao Cheng
  2023-03-15  1:31 ` [PATCH v3 1/6] ext4: Fix reusing stale buffer heads from last failed mounting Zhihao Cheng
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Zhihao Cheng @ 2023-03-15  1:31 UTC (permalink / raw)
  To: tytso, adilger.kernel, jack, tudor.ambarus
  Cc: linux-ext4, linux-kernel, chengzhihao1, yi.zhang

Patch 1 fixes reusing stale buffer heads from last failed mounting.
Patch 2~4 reconstructs 'j_format_version' initialization and checking
in loading process.

v1->v2:
  Adopt suggestions from Tudor, add fix tag and corrupt 'stable' field
  in patch 1.
  Reserve empty lines in patch 4.
v2->v3:
  Split block device checking cleanup into a new patch (2th).
  Add 'Reviewed-by' tag in patch 3-6.


Zhang Yi (4):
  jbd2: remove unused feature macros
  jbd2: switch to check format version in superblock directly
  jbd2: factor out journal initialization from journal_get_superblock()
  jbd2: remove j_format_version

Zhihao Cheng (2):
  ext4: Fix reusing stale buffer heads from last failed mounting
  ext4: ext4_put_super: Remove redundant checking for
    'sbi->s_journal_bdev'

 fs/ext4/super.c      | 15 +++++++------
 fs/jbd2/journal.c    | 53 +++++++++++++++++---------------------------
 include/linux/jbd2.h | 33 ++++++++++++---------------
 3 files changed, 42 insertions(+), 59 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-06-15 15:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-15  1:31 [PATCH v3 0/6] ext4: Fix stale buffer loading from last failed Zhihao Cheng
2023-03-15  1:31 ` [PATCH v3 1/6] ext4: Fix reusing stale buffer heads from last failed mounting Zhihao Cheng
2023-03-15  8:43   ` Jan Kara
2023-03-15  1:31 ` [PATCH v3 2/6] ext4: ext4_put_super: Remove redundant checking for 'sbi->s_journal_bdev' Zhihao Cheng
2023-03-15  8:44   ` Jan Kara
2023-03-15  1:31 ` [PATCH v3 3/6] jbd2: remove unused feature macros Zhihao Cheng
2023-03-15  1:31 ` [PATCH v3 4/6] jbd2: switch to check format version in superblock directly Zhihao Cheng
2023-03-15  1:31 ` [PATCH v3 5/6] jbd2: factor out journal initialization from journal_get_superblock() Zhihao Cheng
2023-03-15  1:31 ` [PATCH v3 6/6] jbd2: remove j_format_version Zhihao Cheng
2023-06-09  8:04 ` [PATCH v3 0/6] ext4: Fix stale buffer loading from last failed Zhihao Cheng
2023-06-11  4:42   ` Theodore Ts'o
2023-06-12  1:38     ` Zhihao Cheng
2023-06-15 14:59 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox