Skip to content

RFC Speed up journal head lookup

Abhi Das cluster-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest5 patches 0 repliesNew
  2. v1 RFC3 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5gfs2: allow map_journal_extents() to take a journal descriptor as argumentfs/gfs2/log.h fs/gfs2/ops_fstype.c+3 -30 replies
2/5gfs2: add timing info for various stages of journal recoveryfs/gfs2/ops_fstype.c fs/gfs2/recovery.c+19 -60 replies
3/5gfs2: changes to gfs2_log_XXX_biofs/gfs2/log.c fs/gfs2/lops.c fs/gfs2/lops.h+21 -170 replies
4/5gfs2: read journal in large chunks to locate the headfs/gfs2/incore.h fs/gfs2/lops.c fs/gfs2/lops.h +3 more+142 -1200 replies
5/5gfs2: add tracepoint debugging for gfs2_end_log_readfs/gfs2/incore.h fs/gfs2/lops.c fs/gfs2/ops_fstype.c +1 more+30 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Cluster-devel] [RFC v2 PATCH 0/5] Speed up journal head lookup

This is a revised version of the patch set I'd posted earlier to speed up jhead lookup during recovery.

I've made some changes as per Steve's suggestions based on the previous version:
https://www.redhat.com/archives/cluster-devel/2018-May/msg00088.html

As before, this patchset is based on the latest RHEL7 codebase as it is easier for me to test. Upstream version shouldn't be very dissimilar and I'll post the upstream port if it looks good.

I'll do a bit more testing and report some performance numbers shortly.

Cheers!
--Abhi

Abhi Das (5):
gfs2: allow map_journal_extents() to take a journal descriptor as
argument
gfs2: add timing info for various stages of journal recovery
gfs2: changes to gfs2_log_XXX_bio
gfs2: read journal in large chunks to locate the head
gfs2: add tracepoint debugging for gfs2_end_log_read

 fs/gfs2/incore.h     |   9 +++-
 fs/gfs2/log.c        |   4 +-
 fs/gfs2/log.h        |   1 +
 fs/gfs2/lops.c       | 142 +++++++++++++++++++++++++++++++++++++++++++--------
 fs/gfs2/lops.h       |  15 +++++-
 fs/gfs2/ops_fstype.c |  12 +++--
 fs/gfs2/recovery.c   | 138 ++++++++++---------------------------------------
 fs/gfs2/recovery.h   |   1 +
 fs/gfs2/trace_gfs2.h |  25 +++++++++
 9 files changed, 208 insertions(+), 139 deletions(-)
Signature · 1 line
2.4.11