[Cluster-devel] [PATCH v2 0/8] gfs2-utils: Add support for new resource group fields

Andrew Price anprice at redhat.com
Fri Dec 8 15:10:48 UTC 2017


These patches add basic support for the new fields in struct gfs2_rgrp as described in the previous posting.

v2: Modified lgfs2_rgrp_crc_check() to take just the rgrp buffer to avoid using potentially differing data from the struct gfs2_rgrp.

Andrew Price (8):
  gfs2-utils configure: Check for rg_skip
  libgfs2: Add rgrp_skip support
  mkfs.gfs2: Pull place_journals() out of place_rgrps()
  mkfs.gfs2: Set the rg_skip field in new rgrps
  gfs2-utils configure: Check for rg_data0, rg_data and rg_bitbytes
  libgfs2: Add support for rg_data0, rg_data and rg_bitbytes
  mkfs.gfs2: Set the rg_data0, rg_data and rg_bitbytes fields
  libgfs2: Add support for rg_crc

 configure.ac             |  4 +++
 gfs2/libgfs2/libgfs2.h   |  4 ++-
 gfs2/libgfs2/meta.c      | 10 +++++++
 gfs2/libgfs2/ondisk.c    | 42 ++++++++++++++++++++++++++--
 gfs2/libgfs2/rgrp.c      | 71 ++++++++++++++++++++++++++++++++++++++++++------
 gfs2/mkfs/main_grow.c    |  9 ++++--
 gfs2/mkfs/main_mkfs.c    | 35 +++++++++++-------------
 tests/check_rgrp.c       |  2 +-
 tests/mkfs.at            | 32 ++++++++++++++++++++++
 tests/rgrifieldscheck.sh | 20 ++++++++++++++
 tests/rgskipcheck.sh     | 19 +++++++++++++
 11 files changed, 213 insertions(+), 35 deletions(-)
 create mode 100755 tests/rgrifieldscheck.sh
 create mode 100755 tests/rgskipcheck.sh

-- 
2.13.6




More information about the Cluster-devel mailing list