xfs: allow internal RT devices for zoned mode
authorChristoph Hellwig <hch@lst.de>
Sun, 17 Nov 2024 07:53:10 +0000 (08:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Mar 2025 15:16:45 +0000 (08:16 -0700)
commitbdc03eb5f98f6f1ae4bd5e020d1582a23efb7799
tree92643c5f3c8297c306100d0849e929a10481a913
parent2167eaabe2fadde24cb8f1dafbec64da1d2ed2f5
xfs: allow internal RT devices for zoned mode

Allow creating an RT subvolume on the same device as the main data
device.  This is mostly used for SMR HDDs where the conventional zones
are used for the data device and the sequential write required zones
for the zoned RT section.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
fs/xfs/libxfs/xfs_group.h
fs/xfs/libxfs/xfs_rtgroup.h
fs/xfs/libxfs/xfs_sb.c
fs/xfs/xfs_file.c
fs/xfs/xfs_fsops.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_super.c