[GIT PULL 6/6] xfs: online repair of quota and rt metadata files

[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 ffd37b22bd2b7cca7749c85a0a08268158903e55:

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

are available in the Git repository at:

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

for you to fetch changes up to a5b91555403e3a09ae00bed85fc78b60801dda24:

xfs: repair quotas (2023-12-15 10:03:45 -0800)

----------------------------------------------------------------
xfs: online repair of quota and rt metadata files [v28.3]

XFS stores quota records and free space bitmap information in files.
Add the necessary infrastructure to enable repairing metadata inodes and
their forks, and then make it so that we can repair the file metadata
for the rtbitmap.  Repairing the bitmap contents (and the summary file)
is left for subsequent patchsets.

We also add the ability to repair file metadata the quota files.  As
part of these repairs, we also reinitialize the ondisk dquot records as
necessary to get the incore dquots working.  We can also correct
obviously bad dquot record attributes, but we leave checking the
resource usage counts for the next patchsets.

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

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

----------------------------------------------------------------
Darrick J. Wong (4):
xfs: check the ondisk space mapping behind a dquot
xfs: check dquot resource timers
xfs: improve dquot iteration for scrub
xfs: repair quotas

fs/xfs/Makefile             |   9 +-
fs/xfs/libxfs/xfs_format.h  |   3 +
fs/xfs/scrub/dqiterate.c    | 211 ++++++++++++++++
fs/xfs/scrub/quota.c        | 107 ++++++++-
fs/xfs/scrub/quota.h        |  36 +++
fs/xfs/scrub/quota_repair.c | 575 ++++++++++++++++++++++++++++++++++++++++++++
fs/xfs/scrub/repair.h       |   7 +
fs/xfs/scrub/scrub.c        |   6 +-
fs/xfs/scrub/trace.c        |   3 +
fs/xfs/scrub/trace.h        |  78 ++++++
fs/xfs/xfs_dquot.c          |  37 +--
fs/xfs/xfs_dquot.h          |   8 +-
12 files changed, 1026 insertions(+), 54 deletions(-)
create mode 100644 fs/xfs/scrub/dqiterate.c
create mode 100644 fs/xfs/scrub/quota.h
create mode 100644 fs/xfs/scrub/quota_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