Skip to content

fsck.gfs2 performance improvements

Bob Peterson cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7fsck.gfs2: Don't bother to pass bl blockmap pointergfs2/fsck/pass1.c+12 -131 reply
2/7fsck.gfs2: Remember the previous rgrp pointer for speedgfs2/fsck/metawalk.c+6 -10 replies
3/7fsck.gfs2: Don't set gfs1rg pointer unless we need togfs2/fsck/metawalk.c+2 -20 replies
4/7fsck.gfs2: Make _fsck_bitmap_set not send a return codegfs2/fsck/metawalk.c gfs2/fsck/metawalk.h gfs2/fsck/pass1.c+61 -530 replies
5/7fsck.gfs2: convert fsck_bitmap_set to a macrogfs2/fsck/metawalk.c gfs2/fsck/metawalk.h gfs2/fsck/pass1.c+25 -280 replies
6/7fsck.gfs2: Speed up function bitmap_typegfs2/fsck/util.h+7 -10 replies
7/7fsck.gfs2: Make pass2 go by directory rbtree for performancegfs2/fsck/pass2.c+8 -130 replies

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-utils PATCH 0/7] fsck.gfs2 performance improvements

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(-)
Signature · 1 line
2.5.5