]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
xfs: Default XFS_RT to Y if CONFIG_BLK_DEV_ZONED is enabled
authorDamien Le Moal <dlemoal@kernel.org>
Tue, 12 Aug 2025 02:55:19 +0000 (11:55 +0900)
committerCarlos Maiolino <cem@kernel.org>
Tue, 19 Aug 2025 12:23:37 +0000 (14:23 +0200)
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.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/Kconfig

index ae0ca68584963a1e4581bf8600decffb96bdceff..065953475cf5eb03be532654b748ac9f104f048c 100644 (file)
@@ -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