mbox series

[GIT,PULL,7/8] xfsprogs: store quota files in the metadir

Message ID 173498954648.2301496.9057937494026486784.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [GIT,PULL,1/8] xfsprogs: bug fixes for 6.12 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/metadir-quotas_2024-12-23

Message

Darrick J. Wong Dec. 23, 2024, 10:29 p.m. UTC
Hi Andrey,

Please pull this branch with changes for xfsprogs for 6.11-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 be4f8d6c422045b7934b8763f013996d49627b00:

mkfs: format realtime groups (2024-12-23 13:05:16 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/metadir-quotas_2024-12-23

for you to fetch changes up to 6ec6c38c96d4427f12e214181a1bb8547fb4c355:

mkfs: add quota flags when setting up filesystem (2024-12-23 13:05:17 -0800)

----------------------------------------------------------------
xfsprogs: store quota files in the metadir [v6.2 07/23]

Store the quota files in the metadata directory tree instead of the
superblock.  Since we're introducing a new incompat feature flag, let's
also make the mount process bring up quotas in whatever state they were
when the filesystem was last unmounted, instead of requiring sysadmins
to remember that themselves.

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

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

----------------------------------------------------------------
Darrick J. Wong (7):
libfrog: scrub quota file metapaths
xfs_db: support metadir quotas
xfs_repair: refactor quota inumber handling
xfs_repair: hoist the secondary sb qflags handling
xfs_repair: support quota inodes in the metadata directory
xfs_repair: try not to trash qflags on metadir filesystems
mkfs: add quota flags when setting up filesystem

db/dquot.c               |  59 ++++++++++++-----
libfrog/scrub.c          |  20 ++++++
libxfs/libxfs_api_defs.h |   6 ++
man/man8/mkfs.xfs.8.in   |  48 ++++++++++++++
mkfs/xfs_mkfs.c          | 113 ++++++++++++++++++++++++++++++++-
repair/agheader.c        | 161 ++++++++++++++++++++++++++---------------------
repair/dinode.c          |  18 +++---
repair/dir2.c            |  12 ++--
repair/globals.c         | 111 ++++++++++++++++++++++++++++++--
repair/globals.h         |  15 +++--
repair/phase2.c          |   3 +
repair/phase4.c          | 116 +++++++++++++++++-----------------
repair/phase6.c          | 128 ++++++++++++++++++++++++++++++++++---
repair/quotacheck.c      | 118 +++++++++++++++++++++++++++++-----
repair/quotacheck.h      |   3 +
repair/sb.c              |   3 +
repair/versions.c        |   9 +--
repair/xfs_repair.c      |  13 ++--
18 files changed, 753 insertions(+), 203 deletions(-)