Skip to content

some cleanup and refactor for jbd2 journal recover

Ye Bin linux-ext4 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 9 repliesApplied
  2. v15 patches 6 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6jbd2: remove redundant judgments for check v1 checksumfs/jbd2/recovery.c+0 -11 reply
2/6jbd2: unified release of buffer_head in do_one_pass()fs/jbd2/recovery.c+9 -251 reply
3/6jbd2: refactor JBD2_COMMIT_BLOCK process in do_one_pass()fs/jbd2/recovery.c+29 -261 reply
4/6jbd2: factor out jbd2_do_replay()fs/jbd2/recovery.c+110 -1092 replies
5/6jbd2: remove useless 'block_error' variablefs/jbd2/recovery.c+2 -71 reply
6/6jbd2: remove the 'success' parameter from the jbd2_do_replay() functionfs/jbd2/recovery.c+12 -92 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJan KaraZhang Yi
1/6R-b R-b
2/6R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] some cleanup and refactor for jbd2 journal recover

Diff v2 vs v1:
1. Modify the indentation problem and remove unnecessary braces in PATCH[4];
2. Add PATCH[6] to remove the 'success' parameter from the jbd2_do_replay();

Ye Bin (6):
jbd2: remove redundant judgments for check v1 checksum
jbd2: unified release of buffer_head in do_one_pass()
jbd2: refactor JBD2_COMMIT_BLOCK process in do_one_pass()
jbd2: factor out jbd2_do_replay()
jbd2: remove useless 'block_error' variable
jbd2: remove the 'success' parameter from the jbd2_do_replay()
function

 fs/jbd2/recovery.c | 311 +++++++++++++++++++++------------------------
 1 file changed, 148 insertions(+), 163 deletions(-)
Signature · 1 line
2.31.1