[GIT PULL 18/18] xfs: clean up symbolic link code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chandan,

Please pull this branch with changes for xfs for 6.9-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 6c8127e93e3ac9c2cf6a13b885dd2d057b7e7d50:

xfs: xfs_bmap_finish_one should map unwritten extents properly (2024-02-22 12:45:00 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/symlink-cleanups-6.9_2024-02-23

for you to fetch changes up to b8102b61f7b8929ad8043e4574a1e26276398041:

xfs: move symlink target write function to libxfs (2024-02-22 12:52:37 -0800)

----------------------------------------------------------------
xfs: clean up symbolic link code [v29.3 18/18]

This series cleans up a few bits of the symbolic link code as needed for
future projects.  Online repair requires the ability to commit fixed
fork-based filesystem metadata such as directories, xattrs, and symbolic
links atomically, so we need to rearrange the symlink code before we
land the atomic extent swapping.

Accomplish this by moving the remote symlink target block code and
declarations to xfs_symlink_remote.[ch].

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

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>

----------------------------------------------------------------
Darrick J. Wong (3):
xfs: move xfs_symlink_remote.c declarations to xfs_symlink_remote.h
xfs: move remote symlink target read function to libxfs
xfs: move symlink target write function to libxfs

fs/xfs/libxfs/xfs_bmap.c           |   1 +
fs/xfs/libxfs/xfs_inode_fork.c     |   1 +
fs/xfs/libxfs/xfs_shared.h         |  13 ----
fs/xfs/libxfs/xfs_symlink_remote.c | 155 ++++++++++++++++++++++++++++++++++++-
fs/xfs/libxfs/xfs_symlink_remote.h |  26 +++++++
fs/xfs/scrub/inode_repair.c        |   1 +
fs/xfs/scrub/symlink.c             |   3 +-
fs/xfs/xfs_symlink.c               | 146 ++--------------------------------
fs/xfs/xfs_symlink.h               |   1 -
9 files changed, 192 insertions(+), 155 deletions(-)
create mode 100644 fs/xfs/libxfs/xfs_symlink_remote.h





[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux