Skip to content

mkfs.gfs2 improvements (groundwork)

Andrew Price cluster-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libgfs2: Rework blk_alloc_igfs2/libgfs2/fs_ops.c gfs2/libgfs2/libgfs2.h+61 -190 replies
2/5libgfs2: Make gfs2_rgrp_out accept char buffersgfs2/convert/gfs2_convert.c gfs2/edit/hexedit.c gfs2/fsck/initialize.c +10 more+57 -450 replies
3/5mkfs.gfs2: Reduce memory usagegfs2/mkfs/main_mkfs.c+94 -160 replies
4/5gfs2-utils: Make the tool tests script more useful.gitignore tests/tool_tests.sh+21 -90 replies
5/5mkfs.gfs2: Separate user options from file system paramsgfs2/libgfs2/libgfs2.h gfs2/mkfs/main_mkfs.c tests/tool_tests.sh+249 -2750 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] [PATCH 0/5] mkfs.gfs2 improvements (groundwork)

This patchset lays the groundwork for the RAID stripe alignment (etc.) enhancements I'm working on. Notably it reduces the peak heap usage (from >3GB to ~25MB for a 50TB fs with default options) and also improves performance slightly. It also adds more tests to the test suite (run 'make check').

Andrew Price (5):
libgfs2: Rework blk_alloc_i
libgfs2: Make gfs2_rgrp_out accept char buffers mkfs.gfs2: Reduce memory usage
gfs2-utils: Make the tool tests script more useful mkfs.gfs2: Separate user options from file system params

 .gitignore                  |   2 +
 gfs2/convert/gfs2_convert.c |  10 +-
 gfs2/edit/hexedit.c         |   4 +-
 gfs2/fsck/initialize.c      |   4 +-
 gfs2/fsck/metawalk.c        |   4 +-
 gfs2/fsck/pass5.c           |   2 +-
 gfs2/fsck/rgrepair.c        |   4 +-
 gfs2/libgfs2/fs_geometry.c  |   4 +-
 gfs2/libgfs2/fs_ops.c       |  99 +++++---
 gfs2/libgfs2/gfs1.c         |   6 +-
 gfs2/libgfs2/libgfs2.h      |  10 +-
 gfs2/libgfs2/ondisk.c       |  32 ++-
 gfs2/libgfs2/structures.c   |   2 +-
 gfs2/mkfs/main_jadd.c       |   2 +-
 gfs2/mkfs/main_mkfs.c       | 593 +++++++++++++++++++++++---------------------
 tests/tool_tests.sh         |  56 ++++-
 16 files changed, 476 insertions(+), 358 deletions(-)
Signature · 1 line
1.8.1.2