From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Wed, 22 Jun 2016 14:26:45 -0500 Subject: [Cluster-devel] [gfs2-utils PATCH 0/7] fsck.gfs2 performance improvements Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit My recent set of patches to fsck.gfs2 saved a lot of memory, thus enabling us to run fsck.gfs2 on much larger file systems. However, it slowed things down and our performance regressed. This is a set of seven patches designed to improve performance again. There are probably more improvements I can make, but I've been busy with kernel work, so it's not my primary focus. If I come up with more patches, I'll post them later. --- Bob Peterson (7): fsck.gfs2: Don't bother to pass bl blockmap pointer fsck.gfs2: Remember the previous rgrp pointer for speed fsck.gfs2: Don't set gfs1rg pointer unless we need to fsck.gfs2: Make _fsck_bitmap_set not send a return code fsck.gfs2: convert fsck_bitmap_set to a macro fsck.gfs2: Speed up function bitmap_type fsck.gfs2: Make pass2 go by directory rbtree for performance gfs2/fsck/metawalk.c | 69 ++++++---------------------------------------------- gfs2/fsck/metawalk.h | 65 +++++++++++++++++++++++++++++++++++++++++++------ gfs2/fsck/pass1.c | 47 +++++++++++++++++++++-------------- gfs2/fsck/pass2.c | 21 ++++++---------- gfs2/fsck/util.h | 8 +++++- 5 files changed, 110 insertions(+), 100 deletions(-) -- 2.5.5