Darrick J. Wong da165fbde2 xfs: condense directories after a mapping exchange operation
The previous commit added a new file mapping exchange flag that enables
us to perform post-swap processing on file2 once we're done exchanging
extent mappings.  Now add this ability for directories.

This isn't used anywhere right now, but we need to have the basic ondisk
flags in place so that a future online directory repair feature can
create salvaged dirents in a temporary directory 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 directory down to inline format if possible.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-04-15 14:54:20 -07:00
..
2023-12-15 10:03:32 -08:00
2024-02-22 12:40:51 -08:00
2023-12-15 10:03:32 -08:00
2023-12-29 13:37:05 +05:30
2019-11-07 13:00:53 -08:00
2024-02-22 12:43:35 -08:00
2024-02-22 12:43:35 -08:00
2023-12-15 10:03:37 -08:00
2024-02-22 12:40:51 -08:00