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 5a43a00432ebe9ab8b54155703a9eb9e1a1dd4ec:
xfs_repair: allow symlinks with short remote targets (2024-07-29 17:01:13 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/autofsck-6.10_2024-08-08
for you to fetch changes up to 7fd2c79b3343e4562b4176728e4dd71b187bbbc9:
mkfs: set autofsck filesystem property (2024-08-08 09:38:48 -0700)
----------------------------------------------------------------
xfs_scrub: admin control of automatic fsck [v30.11 1/2]
Now that we have the ability to set per-filesystem properties, teach the
background xfs_scrub service to pick up advice from the filesystem that it
wants to examine, and pick a mode from that. We're only going to enable this
by default for newer filesystems.
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 (11):
libfrog: support editing filesystem property sets
xfs_io: edit filesystem properties
xfs_db: improve getting and setting extended attributes
libxfs: hoist listxattr from xfs_repair
libxfs: pass a transaction context through listxattr
xfs_db: add a command to list xattrs
xfs_property: add a new tool to administer fs properties
libfrog: define a autofsck filesystem property
xfs_scrub: allow sysadmin to control background scrubs
xfs_scrub: use the autofsck fsproperty to select mode
mkfs: set autofsck filesystem property
db/attrset.c | 463 +++++++++++++++++++++++++++++++++++++-
io/Makefile | 4 +-
io/fsproperties.c | 365 ++++++++++++++++++++++++++++++
io/init.c | 1 +
io/io.h | 1 +
io/xfs_property | 77 +++++++
libfrog/Makefile | 7 +
libfrog/fsproperties.c | 77 +++++++
libfrog/fsproperties.h | 66 ++++++
libfrog/fsprops.c | 202 +++++++++++++++++
libfrog/fsprops.h | 34 +++
libxfs/Makefile | 2 +
{repair => libxfs}/listxattr.c | 42 ++--
libxfs/listxattr.h | 17 ++
man/man8/mkfs.xfs.8.in | 6 +
man/man8/xfs_db.8 | 68 +++++-
man/man8/xfs_io.8 | 16 +-
man/man8/xfs_property.8 | 69 ++++++
man/man8/xfs_scrub.8 | 46 ++++
mkfs/lts_4.19.conf | 1 +
mkfs/lts_5.10.conf | 1 +
mkfs/lts_5.15.conf | 1 +
mkfs/lts_5.4.conf | 1 +
mkfs/lts_6.1.conf | 1 +
mkfs/lts_6.6.conf | 1 +
mkfs/xfs_mkfs.c | 122 +++++++++-
repair/Makefile | 2 -
repair/listxattr.h | 15 --
repair/pptr.c | 9 +-
scrub/Makefile | 3 +-
scrub/phase1.c | 91 ++++++++
scrub/xfs_scrub.c | 14 ++
scrub/xfs_scrub.h | 7 +
scrub/xfs_scrub@.service.in | 2 +-
scrub/xfs_scrub_media@.service.in | 2 +-
35 files changed, 1783 insertions(+), 53 deletions(-)
create mode 100644 io/fsproperties.c
create mode 100755 io/xfs_property
create mode 100644 libfrog/fsproperties.c
create mode 100644 libfrog/fsproperties.h
create mode 100644 libfrog/fsprops.c
create mode 100644 libfrog/fsprops.h
rename {repair => libxfs}/listxattr.c (84%)
create mode 100644 libxfs/listxattr.h
create mode 100644 man/man8/xfs_property.8
delete mode 100644 repair/listxattr.h
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 5a43a00432ebe9ab8b54155703a9eb9e1a1dd4ec: xfs_repair: allow symlinks with short remote targets (2024-07-29 17:01:13 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/autofsck-6.10_2024-08-08 for you to fetch changes up to 7fd2c79b3343e4562b4176728e4dd71b187bbbc9: mkfs: set autofsck filesystem property (2024-08-08 09:38:48 -0700) ---------------------------------------------------------------- xfs_scrub: admin control of automatic fsck [v30.11 1/2] Now that we have the ability to set per-filesystem properties, teach the background xfs_scrub service to pick up advice from the filesystem that it wants to examine, and pick a mode from that. We're only going to enable this by default for newer filesystems. 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 (11): libfrog: support editing filesystem property sets xfs_io: edit filesystem properties xfs_db: improve getting and setting extended attributes libxfs: hoist listxattr from xfs_repair libxfs: pass a transaction context through listxattr xfs_db: add a command to list xattrs xfs_property: add a new tool to administer fs properties libfrog: define a autofsck filesystem property xfs_scrub: allow sysadmin to control background scrubs xfs_scrub: use the autofsck fsproperty to select mode mkfs: set autofsck filesystem property db/attrset.c | 463 +++++++++++++++++++++++++++++++++++++- io/Makefile | 4 +- io/fsproperties.c | 365 ++++++++++++++++++++++++++++++ io/init.c | 1 + io/io.h | 1 + io/xfs_property | 77 +++++++ libfrog/Makefile | 7 + libfrog/fsproperties.c | 77 +++++++ libfrog/fsproperties.h | 66 ++++++ libfrog/fsprops.c | 202 +++++++++++++++++ libfrog/fsprops.h | 34 +++ libxfs/Makefile | 2 + {repair => libxfs}/listxattr.c | 42 ++-- libxfs/listxattr.h | 17 ++ man/man8/mkfs.xfs.8.in | 6 + man/man8/xfs_db.8 | 68 +++++- man/man8/xfs_io.8 | 16 +- man/man8/xfs_property.8 | 69 ++++++ man/man8/xfs_scrub.8 | 46 ++++ mkfs/lts_4.19.conf | 1 + mkfs/lts_5.10.conf | 1 + mkfs/lts_5.15.conf | 1 + mkfs/lts_5.4.conf | 1 + mkfs/lts_6.1.conf | 1 + mkfs/lts_6.6.conf | 1 + mkfs/xfs_mkfs.c | 122 +++++++++- repair/Makefile | 2 - repair/listxattr.h | 15 -- repair/pptr.c | 9 +- scrub/Makefile | 3 +- scrub/phase1.c | 91 ++++++++ scrub/xfs_scrub.c | 14 ++ scrub/xfs_scrub.h | 7 + scrub/xfs_scrub@.service.in | 2 +- scrub/xfs_scrub_media@.service.in | 2 +- 35 files changed, 1783 insertions(+), 53 deletions(-) create mode 100644 io/fsproperties.c create mode 100755 io/xfs_property create mode 100644 libfrog/fsproperties.c create mode 100644 libfrog/fsproperties.h create mode 100644 libfrog/fsprops.c create mode 100644 libfrog/fsprops.h rename {repair => libxfs}/listxattr.c (84%) create mode 100644 libxfs/listxattr.h create mode 100644 man/man8/xfs_property.8 delete mode 100644 repair/listxattr.h