From: Andrew Price Date: Tue, 13 Apr 2021 14:05:27 +0100 Subject: [Cluster-devel] [PATCH 0/5] fsck.gfs2: rindex checking improvements Message-ID: <20210413130532.1277163-1-anprice@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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