mbox series

[GIT,PULL,17/23] xfsprogs: improve extended attribute validation

Message ID 172230459508.1455085.4400398103646272942.stg-ugh@frogsfrogsfrogs (mailing list archive)
State Accepted, archived
Headers show
Series [GIT,PULL,01/23] libxfs: fixes for 6.9 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/improve-attr-validation-6.10_2024-07-29

Message

Darrick J. Wong July 30, 2024, 2:44 a.m. UTC
Hi Carlos,

Please pull this branch with changes for xfsprogs for 6.10-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.

The following changes since commit e46249ec0b96ac5ced5b49928d3b3865b6d9546c:

xfs_scrub_all: implement retry and backoff for dbus calls (2024-07-29 17:01:10 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/improve-attr-validation-6.10_2024-07-29

for you to fetch changes up to 2823d8ed93da2bd3880abb52a58e91a920961e27:

xfs_repair: check for unknown flags in attr entries (2024-07-29 17:01:11 -0700)

----------------------------------------------------------------
xfsprogs: improve extended attribute validation [v13.8 17/28]

Prior to introducing parent pointer extended attributes, let's spend
some time cleaning up the attr code and strengthening the validation
that it performs on attrs coming in from the disk.

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 (6):
xfs_scrub_all: fail fast on masked units
xfs_scrub: automatic downgrades to dry-run mode in service mode
xfs_scrub: add an optimization-only mode
xfs_repair: check free space requirements before allowing upgrades
xfs_repair: enforce one namespace bit per extended attribute
xfs_repair: check for unknown flags in attr entries

include/libxfs.h         |   1 +
libxfs/libxfs_api_defs.h |   1 +
man/man8/xfs_scrub.8     |   6 ++-
repair/attr_repair.c     |  30 +++++++++++
repair/phase2.c          | 134 +++++++++++++++++++++++++++++++++++++++++++++++
scrub/Makefile           |   2 +-
scrub/phase1.c           |  13 +++++
scrub/phase4.c           |   6 +++
scrub/repair.c           |  37 ++++++++++++-
scrub/repair.h           |   2 +
scrub/scrub.c            |   4 +-
scrub/xfs_scrub.c        |  21 +++++++-
scrub/xfs_scrub.h        |   1 +
scrub/xfs_scrub_all.in   |  21 ++++++++
14 files changed, 272 insertions(+), 7 deletions(-)