diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:54:21 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-15 14:54:21 -0700 |
commit | 33a9be2b7016e79f47c4c1b523a0aa59d41893c0 (patch) | |
tree | be7d04eb76082226c8f99521824af159ea46a2d0 /fs/xfs/xfs_exchrange.c | |
parent | da165fbde23b84591b6ccdf6749277d2d767b770 (diff) | |
download | linux-33a9be2b7016e79f47c4c1b523a0aa59d41893c0.tar.gz linux-33a9be2b7016e79f47c4c1b523a0aa59d41893c0.tar.bz2 linux-33a9be2b7016e79f47c4c1b523a0aa59d41893c0.zip |
xfs: condense symbolic links after a mapping exchange operation
The previous commit added a new file mapping exchange flag that enables
us to perform post-exchange processing on file2 once we're done
exchanging the extent mappings. Now add this ability for symlinks.
This isn't used anywhere right now, but we need to have the basic ondisk
flags in place so that a future online symlink repair feature can
salvage the remote target in a temporary link and exchange the data fork
mappings when ready. If one file is in extents format and the other is
inline, we will have to promote both to extents format to perform the
exchange. After the exchange, we can try to condense the fixed symlink
down to inline format if possible.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_exchrange.c')
0 files changed, 0 insertions, 0 deletions