Skip to contentSkip to conversation

xfsprogs: catch us up to 6.10, part 2

GIT PULLBOMB Darrick J. Wong 2 participants 4 messages Aug 8, 2024 – Aug 9, 2024

lore
Share & tools
lore
#0 lore raw

Hi Carlos,

Please pull these last two patchsets for xfsprogs 6.10. With this merge, online repair will be done at last. Time to move on to performance tweaks and bug fixes!

--D

#1 lore raw

[GIT PULL 1/2] xfs_scrub: admin control of automatic fsck

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!

----------------------------------------------------------------
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/[email protected]       |   2 +-
scrub/[email protected] |   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

#2 lore raw

[GIT PULL 2/2] debian: enable xfs_scrub_all by default

In reply to Darrick J. Wong

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

mkfs: set autofsck filesystem property (2024-08-08 09:38:48 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git tags/debian-autofsck-6.10_2024-08-08

for you to fetch changes up to 45cc055588f4dcc7a2951dd226dd5e64f5e165da:

debian: enable xfs_scrub_all systemd timer services by default (2024-08-08 09:38:48 -0700)

----------------------------------------------------------------
debian: enable xfs_scrub_all by default [v30.11 2/2]

Update our packaging to enable the background xfs_scrub timer by default. This won't do much unless the sysadmin sets the autofsck fs property or formats a filesystem with backref metadata.

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

----------------------------------------------------------------
Darrick J. Wong (1):
debian: enable xfs_scrub_all systemd timer services by default

debian/rules | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
#3 lore raw
In reply to Darrick J. Wong
Quoted 5 lines · Darrick J. Wong

Hi Carlos,

Please pull these last two patchsets for xfsprogs 6.10. With this merge, online repair will be done at last. Time to move on to performance tweaks and bug fixes!

Pulled into my for-next, thanks!

I'll push those along the day.

Carlos

Quoted 3 lines

--D