Skip to contentSkip to conversation

xfs: Default XFS_RT to Y if CONFIG_BLK_DEV_ZONED is enabled

PATCH Applied Damien Le Moal 3 participants 4 messages Aug 12, 2025 – Aug 19, 2025 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: Default XFS_RT to Y if CONFIG_BLK_DEV_ZONED is enabled

XFS support for zoned block devices requires the realtime subvolume support (XFS_RT) to be enabled. Change the default configuration value of XFS_RT from N to CONFIG_BLK_DEV_ZONED to align with this requirement. This change still allows the user to disable XFS_RT if this feature is not desired for the user use case.

---
 fs/xfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/xfs/Kconfig +1 -0
index 68724dec3d19..9367f60718dd 100644
@@ -105,6 +105,7 @@ config XFS_POSIX_ACL
 config XFS_RT
 	bool "XFS Realtime subvolume support"
 	depends on XFS_FS
+	default BLK_DEV_ZONED
 	help
 	  If you say Y here you will be able to mount and use XFS filesystems
 	  which contain a realtime subvolume.  The realtime subvolume is a
Signature · 1 line
2.50.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Damien Le Moal

XFS support for zoned block devices requires the realtime subvolume support (XFS_RT) to be enabled. Change the default configuration value of XFS_RT from N to CONFIG_BLK_DEV_ZONED to align with this requirement. This change still allows the user to disable XFS_RT if this feature is not desired for the user use case.

---
 fs/xfs/Kconfig | 1 +
 1 file changed, 1 insertion(+)
fs/xfs/Kconfig +0 -0
index 68724dec3d19..9367f60718dd 100644

fs/xfs/Kconfig config XFS_POSIX_ACL · line 111

Quoted 7 lines
fs/xfs/Kconfig +1 -0
@@ -105,6 +105,7 @@ config XFS_POSIX_ACL
 config XFS_RT
 	bool "XFS Realtime subvolume support"
 	depends on XFS_FS
+	default BLK_DEV_ZONED
 	help
 	  If you say Y here you will be able to mount and use XFS filesystems
 	  which contain a realtime subvolume.  The realtime subvolume is a

This looks as a good compromise to me as it still allows distributions to disable it if they don't want to have XFS_RT enabled even if zoned devices are supported.

Quoted 4 lines

--
2.50.1

maintainer Applied
#3 lore raw
In reply to Damien Le Moal
Quoted 8 lines · Damien Le Moal

XFS support for zoned block devices requires the realtime subvolume support (XFS_RT) to be enabled. Change the default configuration value of XFS_RT from N to CONFIG_BLK_DEV_ZONED to align with this requirement. This change still allows the user to disable XFS_RT if this feature is not desired for the user use case.

[...]

Applied to for-next, thanks!

[1/1] xfs: Default XFS_RT to Y if CONFIG_BLK_DEV_ZONED is enabled

      commit: 9ce43caa4b7be707638d49ad4fb358b6ff646e91

Best regards,

Signature · 1 line
Carlos Maiolino <[email protected]>