From: Darrick J. Wong Date: Mon, 29 Jul 2024 23:22:36 +0000 (-0700) Subject: xfs: enable logged file mapping exchange feature X-Git-Tag: v6.10.0~24^2~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=15fef3f2383bdfe2b4f0ffdfbbcbe5c8b2a717e5;p=thirdparty%2Fxfsprogs-dev.git xfs: enable logged file mapping exchange feature Source kernel commit: 0730e8d8ba1d1507f1d7fd719e1f835ce69961fe Add the XFS_SB_FEAT_INCOMPAT_EXCHRANGE feature to the set of features that we will permit when mounting a filesystem. This turns on support for the file range exchange feature. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- diff --git a/libxfs/xfs_format.h b/libxfs/xfs_format.h index ff1e2831..10153ce1 100644 --- a/libxfs/xfs_format.h +++ b/libxfs/xfs_format.h @@ -380,7 +380,8 @@ xfs_sb_has_ro_compat_feature( XFS_SB_FEAT_INCOMPAT_META_UUID | \ XFS_SB_FEAT_INCOMPAT_BIGTIME | \ XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR | \ - XFS_SB_FEAT_INCOMPAT_NREXT64) + XFS_SB_FEAT_INCOMPAT_NREXT64 | \ + XFS_SB_FEAT_INCOMPAT_EXCHRANGE) #define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL static inline bool