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

Abhi Das adas at redhat.com
Mon Aug 13 04:48:44 UTC 2018


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(-)

-- 
2.4.11




More information about the Cluster-devel mailing list