Skip to content

RFC Locating jhead using a pool of bios

Abhi Das cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3gfs2: add more timing info to the journal recovery processfs/gfs2/bmap.c fs/gfs2/recovery.c+8 -20 replies
2/3gfs2: add a helper function to get_log_header that can be used elsewherefs/gfs2/recovery.c fs/gfs2/recovery.h+34 -210 replies
3/3gfs2: introduce bio_pool to readahead journal to find jheadfs/gfs2/incore.h fs/gfs2/lops.c fs/gfs2/lops.h +3 more+391 -1171 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Cluster-devel] [GFS2 RFC PATCH 0/3] Locating jhead using a pool of bios

This patchset does things a bit differently from the previous attempts to find the journal head based on Andreas' suggestions.

It uses a pool of bios to maintain a readahead queue of sorts that allows us to process the completed bios in sequential order to locate the jhead.

I've done a little bit of testing and it seems to be holding up so far. I plan to do more testing.

I haven't done a performance analysis vs the old method yet, so I don't know how well this does. There might be some optimizations we can do w.r.t repeated allocations and such.

Abhi Das (3):
gfs2: add more timing info to the journal recovery process
gfs2: add a helper function to get_log_header that can be used
elsewhere
gfs2: introduce bio_pool to readahead journal to find jhead

 fs/gfs2/bmap.c       |   8 +-
 fs/gfs2/incore.h     |   3 +
 fs/gfs2/lops.c       | 359 +++++++++++++++++++++++++++++++++++++++++++++++++++
 fs/gfs2/lops.h       |   1 +
 fs/gfs2/ops_fstype.c |   2 +
 fs/gfs2/recovery.c   | 171 ++++++------------------
 fs/gfs2/recovery.h   |   2 +
 fs/gfs2/sys.c        |  27 ++--
 8 files changed, 433 insertions(+), 140 deletions(-)
Signature · 1 line
2.4.11