xfs: create a incompat flag for atomic file mapping exchanges
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:15 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:15 +0000 (14:54 -0700)
commit1518646eef26c220e9256906260ecaaa64503522
treeb7a29eac7e88ec237d90b85b086079bf059d426e
parent9a64d9b3109d01cca0b83c1d36538b7a37c5284e
xfs: create a incompat flag for atomic file mapping exchanges

Create a incompat flag so that we only attempt to process file mapping
exchange log items if the filesystem supports it, and a geometry flag to
advertise support if it's present.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_format.h
fs/xfs/libxfs/xfs_fs.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_super.c