mbox series

[GIT,PULL,11/16] xfs: online repair of symbolic links

Message ID 171322718349.141687.12197636853097567311.stg-ugh@frogsfrogsfrogs (mailing list archive)
State New
Headers show
Series [GIT,PULL,01/16] xfs: improve log incompat feature handling | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-symlink-6.10_2024-04-15

Message

Darrick J. Wong April 16, 2024, 12:30 a.m. UTC
Hi Chandan,

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

--D

The following changes since commit 73597e3e42b4a15030e6f93b71b53a04377ea419:

xfs: ensure dentry consistency when the orphanage adopts a file (2024-04-15 14:58:57 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/repair-symlink-6.10_2024-04-15

for you to fetch changes up to 2651923d8d8db00a57665822f017fa7c76758044:

xfs: online repair of symbolic links (2024-04-15 14:58:58 -0700)

----------------------------------------------------------------
xfs: online repair of symbolic links [v30.3 11/16]

The patches in this set adds the ability to repair the target buffer of
a symbolic link, using the same salvage, rebuild, and swap strategy used
everywhere else.

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 (3):
xfs: expose xfs_bmap_local_to_extents for online repair
xfs: pass the owner to xfs_symlink_write_target
xfs: online repair of symbolic links

fs/xfs/Makefile                    |   1 +
fs/xfs/libxfs/xfs_bmap.c           |  11 +-
fs/xfs/libxfs/xfs_bmap.h           |   6 +
fs/xfs/libxfs/xfs_symlink_remote.c |   7 +-
fs/xfs/libxfs/xfs_symlink_remote.h |   7 +-
fs/xfs/scrub/repair.h              |   8 +
fs/xfs/scrub/scrub.c               |   2 +-
fs/xfs/scrub/symlink.c             |  13 +-
fs/xfs/scrub/symlink_repair.c      | 506 +++++++++++++++++++++++++++++++++++++
fs/xfs/scrub/tempfile.c            |  13 +
fs/xfs/scrub/trace.h               |  46 ++++
fs/xfs/xfs_symlink.c               |   4 +-
12 files changed, 609 insertions(+), 15 deletions(-)
create mode 100644 fs/xfs/scrub/symlink_repair.c