[GIT PULL 12/22] xfs: detect incorrect gaps in rmap btree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 efc0845f5d3e253f7f46a60b66a94c3164d76ee3:

xfs: convert xfs_ialloc_has_inodes_at_extent to return keyfill scan results (2023-04-11 19:00:15 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-detect-rmapbt-gaps-6.4_2023-04-11

for you to fetch changes up to 30f8ee5e7e0ccce396dff209c6cbce49d0d7e167:

xfs: ensure that single-owner file blocks are not owned by others (2023-04-11 19:00:16 -0700)

----------------------------------------------------------------
xfs: detect incorrect gaps in rmap btree [v24.5]

Following in the theme of the last two patchsets, this one strengthens
the rmap btree record checking so that scrub can count the number of
space records that map to a given owner and that do not map to a given
owner.  This enables us to determine exclusive ownership of space that
can't be shared.

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

----------------------------------------------------------------
Darrick J. Wong (2):
xfs: teach scrub to check for sole ownership of metadata objects
xfs: ensure that single-owner file blocks are not owned by others

fs/xfs/libxfs/xfs_rmap.c | 198 ++++++++++++++++++++++++++++++++---------------
fs/xfs/libxfs/xfs_rmap.h |  18 ++++-
fs/xfs/scrub/agheader.c  |  10 +--
fs/xfs/scrub/bmap.c      |  14 +++-
fs/xfs/scrub/btree.c     |   2 +-
fs/xfs/scrub/ialloc.c    |   4 +-
fs/xfs/scrub/inode.c     |   2 +-
fs/xfs/scrub/rmap.c      |  45 ++++++-----
fs/xfs/scrub/scrub.h     |   2 +-
9 files changed, 198 insertions(+), 97 deletions(-)




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux