]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
xfs: enable the zoned RT device feature
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Nov 2024 07:36:47 +0000 (08:36 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:17:09 +0000 (08:17 -0700)
Enable the zoned RT device directory feature.  With this feature, RT
groups are written sequentially and always emptied before rewriting
the blocks.  This perfectly maps to zoned devices, but can also be
used on conventional block devices.

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

index f67380a258052a7d27e23b58a85f933d3a1cc98d..cee7e26f23bd7e81d80242cc741c844505510dac 100644 (file)
@@ -408,7 +408,8 @@ xfs_sb_has_ro_compat_feature(
                 XFS_SB_FEAT_INCOMPAT_NREXT64 | \
                 XFS_SB_FEAT_INCOMPAT_EXCHRANGE | \
                 XFS_SB_FEAT_INCOMPAT_PARENT | \
-                XFS_SB_FEAT_INCOMPAT_METADIR)
+                XFS_SB_FEAT_INCOMPAT_METADIR | \
+                XFS_SB_FEAT_INCOMPAT_ZONED)
 
 #define XFS_SB_FEAT_INCOMPAT_UNKNOWN   ~XFS_SB_FEAT_INCOMPAT_ALL
 static inline bool