[Cluster-devel] [PATCH 0/5] fsck.gfs2: rindex checking improvements

Andrew Price anprice at redhat.com
Tue Apr 13 13:05:27 UTC 2021


These patches improve the rindex checking code in the fetch_rgrps() path and enable 3 more fsck.gfs2 test cases that now pass. There is more work to do in this area but these patches are worthwhile improvements on their own.

Andy

Andrew Price (5):
  fsck.gfs2: Refactor fetch_rgrps()
  fsck.gfs2: Call rindex_read() outside of ri_update()
  fsck.gfs2: Rename ri_update to read_rgrps
  fsck.gfs2: Fix bounds check in find_next_rgrp_dist()
  fsck.gfs2: Improve rindex consistency check

 gfs2/fsck/fsck.h       |  2 +-
 gfs2/fsck/initialize.c | 79 +++++++++++++++++++++++-------------------
 gfs2/fsck/rgrepair.c   |  5 ++-
 tests/fsck.at          | 28 ++++++++++++---
 4 files changed, 71 insertions(+), 43 deletions(-)

-- 
2.30.2




More information about the Cluster-devel mailing list