Skip to content

GFS2 recovery patches v10

Bob Peterson cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest28 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/28gfs2: Split gfs2_lm_withdraw into two functionsfs/gfs2/glops.c fs/gfs2/log.c fs/gfs2/sys.c +2 more+82 -700 replies
2/28gfs2: Report errors before withdrawfs/gfs2/rgrp.c+23 -250 replies
3/28gfs2: Remove usused cluster_wide arguments of gfs2_consist functionsfs/gfs2/util.c fs/gfs2/util.h+9 -90 replies
4/28gfs2: Turn gfs2_consist into void functionsfs/gfs2/util.c fs/gfs2/util.h+15 -210 replies
5/28gfs2: Return bool from gfs2_assert functionsfs/gfs2/util.c fs/gfs2/util.h+24 -250 replies
6/28gfs2: Introduce concept of a pending withdrawfs/gfs2/incore.h fs/gfs2/log.c fs/gfs2/util.c +1 more+27 -210 replies
7/28gfs2: clear ail1 list when gfs2 withdrawsfs/gfs2/log.c+13 -40 replies
8/28gfs2: Rework how rgrp buffer_heads are managedfs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h +2 more+6 -360 replies
9/28gfs2: log error reformfs/gfs2/incore.h fs/gfs2/log.c fs/gfs2/quota.c+16 -90 replies
10/28gfs2: Only complain the first time an io error occurs in quota or logfs/gfs2/lops.c fs/gfs2/quota.c+5 -40 replies
11/28gfs2: Ignore dlm recovery requests if gfs2 is withdrawnfs/gfs2/lock_dlm.c fs/gfs2/recovery.c+23 -00 replies
12/28gfs2: move check_journal_clean to util.c for future usefs/gfs2/ops_fstype.c fs/gfs2/util.c fs/gfs2/util.h+46 -420 replies
13/28gfs2: Allow some glocks to be used during withdrawfs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h +1 more+45 -100 replies
14/28gfs2: Force withdraw to replay journals and wait for it to finishfs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h +8 more+389 -310 replies
15/28gfs2: fix infinite loop when checking ail item count before go_invalfs/gfs2/glock.c fs/gfs2/glops.c+15 -50 replies
16/28gfs2: Add verbose option to check_journal_cleanfs/gfs2/ops_fstype.c fs/gfs2/util.c fs/gfs2/util.h+20 -90 replies
17/28gfs2: Issue revokes more intelligentlyfs/gfs2/log.c+36 -380 replies
18/28gfs2: Prepare to withdraw as soon as an IO error occurs in log writefs/gfs2/lops.c+3 -00 replies
19/28gfs2: Check for log write errors before telling dlm to unlockfs/gfs2/glock.c+28 -30 replies
20/28gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is emptyfs/gfs2/glops.c fs/gfs2/log.c fs/gfs2/log.h+28 -20 replies
21/28gfs2: Withdraw in gfs2_ail1_flush if write_cache_pages failsfs/gfs2/log.c+13 -70 replies
22/28gfs2: drain the ail2 list after io errorsfs/gfs2/log.c fs/gfs2/trans.c+65 -100 replies
23/28gfs2: Don't demote a glock until its revokes are writtenfs/gfs2/glock.c+3 -00 replies
24/28gfs2: Do proper error checking for go_sync family of glops functionsfs/gfs2/glock.c fs/gfs2/glops.c fs/gfs2/incore.h+34 -140 replies
25/28gfs2: flesh out delayed withdraw for gfs2_log_flushfs/gfs2/log.c fs/gfs2/util.c fs/gfs2/util.h+41 -120 replies
26/28fs: clean up __block_commit_writefs/buffer.c+3 -70 replies
27/28gfs2: don't allow releasepage to free bd still used for revokesfs/gfs2/aops.c+8 -30 replies
28/28gfs2: allow journal replay to hold sd_log_flush_lockfs/gfs2/recovery.c+5 -00 replies

Reviews trailers per patch

19 of 28 patches have a Reviewed-by or Acked-by.

PatchAndreas GruenbacherChristoph Hellwig
1/28
2/28
3/28
4/28
5/28
6/28R-b
7/28R-b
8/28R-b
9/28R-b
10/28R-b
11/28R-b
12/28R-b
13/28
14/28
15/28R-b
16/28R-b
17/28R-b
18/28R-b
19/28R-b
20/28R-b
21/28R-b
22/28R-b
23/28R-b
24/28R-b
25/28R-b
26/28R-b
27/28
28/28

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

Read the v1 thread

Cover letter [Cluster-devel] [GFS2 PATCH 00/28] GFS2 recovery patches v10

Hi,

As you may recall, Andreas and I have been working to clean up the extensive recovery patch set. Here, then, is the most recent version. Note that some patches were removed, and others were restructered a bit.
I hope to push this to for-next and merge it in soon.

Many thanks to Andreas Gruenbacher for his suggestions and clean-ups.

Regards,

Bob Peterson

Andreas Gruenbacher (5):
gfs2: Split gfs2_lm_withdraw into two functions
gfs2: Report errors before withdraw
gfs2: Remove usused cluster_wide arguments of gfs2_consist functions
gfs2: Turn gfs2_consist into void functions
gfs2: Return bool from gfs2_assert functions

Bob Peterson (23):
gfs2: Introduce concept of a pending withdraw
gfs2: clear ail1 list when gfs2 withdraws
gfs2: Rework how rgrp buffer_heads are managed
gfs2: log error reform
gfs2: Only complain the first time an io error occurs in quota or log
gfs2: Ignore dlm recovery requests if gfs2 is withdrawn
gfs2: move check_journal_clean to util.c for future use
gfs2: Allow some glocks to be used during withdraw
gfs2: Force withdraw to replay journals and wait for it to finish
gfs2: fix infinite loop when checking ail item count before go_inval
gfs2: Add verbose option to check_journal_clean
gfs2: Issue revokes more intelligently
gfs2: Prepare to withdraw as soon as an IO error occurs in log write
gfs2: Check for log write errors before telling dlm to unlock
gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
gfs2: Withdraw in gfs2_ail1_flush if write_cache_pages fails
gfs2: drain the ail2 list after io errors
gfs2: Don't demote a glock until its revokes are written
gfs2: Do proper error checking for go_sync family of glops functions
gfs2: flesh out delayed withdraw for gfs2_log_flush
fs: clean up __block_commit_write
gfs2: don't allow releasepage to free bd still used for revokes
gfs2: allow journal replay to hold sd_log_flush_lock

 fs/buffer.c          |  10 +-
 fs/gfs2/aops.c       |  11 +-
 fs/gfs2/glock.c      | 127 ++++++++++---
 fs/gfs2/glops.c      | 157 +++++++++++++---
 fs/gfs2/incore.h     |  26 ++-
 fs/gfs2/lock_dlm.c   |  52 ++++++
 fs/gfs2/log.c        | 238 +++++++++++++++---------
 fs/gfs2/log.h        |   1 +
 fs/gfs2/lops.c       |   8 +-
 fs/gfs2/meta_io.c    |   2 +-
 fs/gfs2/ops_fstype.c |  59 ++----
 fs/gfs2/quota.c      |   7 +-
 fs/gfs2/recovery.c   |  10 ++
 fs/gfs2/rgrp.c       |  71 +++-----
 fs/gfs2/rgrp.h       |   1 -
 fs/gfs2/super.c      |  75 ++++++--
 fs/gfs2/super.h      |   1 -
 fs/gfs2/sys.c        |   5 +-
 fs/gfs2/trans.c      |   4 +
 fs/gfs2/util.c       | 419 +++++++++++++++++++++++++++++++++----------
 fs/gfs2/util.h       |  76 +++++---
 21 files changed, 984 insertions(+), 376 deletions(-)
Signature · 1 line
2.24.1