[GIT PULL 5/6] xfs: online repair of rt bitmap file

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

 



Hi Chandan,

Please pull this branch with changes for xfs for 6.8-rc1.

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

xfs: repair problems in CoW forks (2023-12-15 10:03:40 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-rtbitmap-6.8_2023-12-15

for you to fetch changes up to ffd37b22bd2b7cca7749c85a0a08268158903e55:

xfs: online repair of realtime bitmaps (2023-12-15 10:03:43 -0800)

----------------------------------------------------------------
xfs: online repair of rt bitmap file [v28.3]

Add in the necessary infrastructure to check the inode and data forks of
metadata files, then apply that to the realtime bitmap file.  We won't
be able to reconstruct the contents of the rtbitmap file until rmapbt is
added for realtime volumes, but we can at least get the basics started.

This has been running on the djcloud for months with no problems.  Enjoy!

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

----------------------------------------------------------------
Darrick J. Wong (6):
xfs: check rt bitmap file geometry more thoroughly
xfs: check rt summary file geometry more thoroughly
xfs: always check the rtbitmap and rtsummary files
xfs: repair the inode core and forks of a metadata inode
xfs: create a new inode fork block unmap helper
xfs: online repair of realtime bitmaps

fs/xfs/Makefile                |   4 +
fs/xfs/libxfs/xfs_bmap.c       |  41 ++++++++-
fs/xfs/libxfs/xfs_bmap.h       |   5 +-
fs/xfs/scrub/bmap_repair.c     |  17 +++-
fs/xfs/scrub/repair.c          | 153 +++++++++++++++++++++++++++++++
fs/xfs/scrub/repair.h          |   9 ++
fs/xfs/scrub/rtbitmap.c        | 103 +++++++++++++++++----
fs/xfs/scrub/rtbitmap.h        |  22 +++++
fs/xfs/scrub/rtbitmap_repair.c | 202 +++++++++++++++++++++++++++++++++++++++++
fs/xfs/scrub/rtsummary.c       | 137 ++++++++++++++++++++++------
fs/xfs/scrub/scrub.c           |   4 +-
fs/xfs/xfs_inode.c             |  24 +----
12 files changed, 647 insertions(+), 74 deletions(-)
create mode 100644 fs/xfs/scrub/rtbitmap.h
create mode 100644 fs/xfs/scrub/rtbitmap_repair.c





[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