mbox series

[GIT,PULL,7/22] xfs: hoist scrub record checks into libxfs

Message ID 168127094360.417736.3162133789025574725.stg-ugh@frogsfrogsfrogs (mailing list archive)
State Deferred, archived
Headers show
Series [GIT,PULL,1/22] xfs: design documentation for online fsck | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/btree-hoist-scrub-checks-6.4_2023-04-11

Message

Darrick J. Wong April 12, 2023, 3:46 a.m. UTC
Hi Dave,

Please pull this branch with changes for xfs.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit 6a3bd8fcf9afb47c703cb268f30f60aa2e7af86a:

xfs: complain about bad file mapping records in the ondisk bmbt (2023-04-11 19:00:05 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/btree-hoist-scrub-checks-6.4_2023-04-11

for you to fetch changes up to de1a9ce225e93b22d189f8ffbce20074bc803121:

xfs: hoist inode record alignment checks from scrub (2023-04-11 19:00:06 -0700)

----------------------------------------------------------------
xfs: hoist scrub record checks into libxfs [v24.5]

There are a few things about btree records that scrub checked but the
libxfs _get_rec functions didn't.  Move these bits into libxfs so that
everyone can benefit.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Darrick J. Wong (3):
xfs: hoist rmap record flag checks from scrub
xfs: hoist rmap record flag checks from scrub
xfs: hoist inode record alignment checks from scrub

fs/xfs/libxfs/xfs_ialloc.c |  4 ++++
fs/xfs/libxfs/xfs_rmap.c   | 27 +++++++++++++++++++++++++++
fs/xfs/scrub/ialloc.c      |  6 ------
fs/xfs/scrub/rmap.c        | 22 ----------------------
4 files changed, 31 insertions(+), 28 deletions(-)