Skip to contentSkip to conversation

xfs: Improve CONFIG_XFS_RT Kconfig help

PATCH In review Damien Le Moal 3 participants 3 messages Aug 7, 2025 – Aug 11, 2025 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfs: Improve CONFIG_XFS_RT Kconfig help

Improve the description of the XFS_RT configuration option to document that this option is required for zoned block devices.

---
 fs/xfs/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
fs/xfs/Kconfig +9 -0
index ae0ca6858496..68724dec3d19 100644
@@ -118,6 +118,15 @@ config XFS_RT
 
 	  See the xfs man page in section 5 for additional information.
 
+	  This option is mandatory to support zoned block devices. For these
+	  devices, the realtime subvolume must be backed by a zoned block
+	  device and a regular block device used as the main device (for
+	  metadata). If the zoned block device is a host-managed SMR hard-disk
+	  containing conventional zones at the beginning of its address space,
+	  XFS will use the disk conventional zones as the main device and the
+	  remaining sequential write required zones as the backing storage for
+	  the realtime subvolume.
+
 	  If unsure, say N.
 
 config XFS_DRAIN_INTENTS
Signature · 1 line
2.50.1
Reviewed-by on v1 1/1
#1 lore raw

fs/xfs/Kconfig config XFS_RT · line 128

Quoted 8 lines · Damien Le Moal
fs/xfs/Kconfig +8 -0
+	  This option is mandatory to support zoned block devices. For these
+	  devices, the realtime subvolume must be backed by a zoned block
+	  device and a regular block device used as the main device (for
+	  metadata). If the zoned block device is a host-managed SMR hard-disk
+	  containing conventional zones at the beginning of its address space,
+	  XFS will use the disk conventional zones as the main device and the
+	  remaining sequential write required zones as the backing storage for
+	  the realtime subvolume.

Looks good:

maintainer Reviewed-by on v1 1/1
#2 lore raw
In reply to Damien Le Moal
Quoted 16 lines · Damien Le Moal

Improve the description of the XFS_RT configuration option to document that this option is required for zoned block devices.

---
 fs/xfs/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)
fs/xfs/Kconfig +0 -0
index ae0ca6858496..68724dec3d19 100644
@@ -118,6 +118,15 @@ config XFS_RT
 
 	  See the xfs man page in section 5 for additional information.
 

fs/xfs/Kconfig config XFS_RT · line 130

Quoted 10 lines
fs/xfs/Kconfig +9 -0
+	  This option is mandatory to support zoned block devices. For these
+	  devices, the realtime subvolume must be backed by a zoned block
+	  device and a regular block device used as the main device (for
+	  metadata). If the zoned block device is a host-managed SMR hard-disk
+	  containing conventional zones at the beginning of its address space,
+	  XFS will use the disk conventional zones as the main device and the
+	  remaining sequential write required zones as the backing storage for
+	  the realtime subvolume.
+
 	  If unsure, say N.

Looks good!

Quoted 6 lines
fs/xfs/Kconfig +0 -1
 config XFS_DRAIN_INTENTS
--

2.50.1