]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: enable fsmap reporting for internal RT devices
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Nov 2024 05:51:55 +0000 (06:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 04:49:14 +0000 (05:49 +0100)
commit536306825b806786cf75e24032135f6cde5ef841
treecb91a85f8212c63e3c31e1cd42b2a9b9d1fe5f16
parent46d1b1f661629d4c91b16df71f0b0aaf7705fe7b
xfs: enable fsmap reporting for internal RT devices

File system with internal RT devices are a bit odd in that we need
to report AGs and RGs.  To make this happen use separate synthetic
fmr_device values for the different sections instead of the dev_t
mapping used by other XFS configurations.

The data device is reported as file system metadata before the
start of the RGs for the synthetic RT fmr_device.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/xfs/libxfs/xfs_fs.h
fs/xfs/xfs_fsmap.c