]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: check the realtime superblock at mount time
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:17 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:39 +0000 (13:38 -0800)
commit18618e7100dd46dde237713a1d55851150f193c5
tree667d976b2e25f76f39bb3724c78c9dc1f4431b64
parent96768e91511bfced6e9e537f4891157d909b13ee
xfs: check the realtime superblock at mount time

Check the realtime superblock at mount time, to ensure that the label
and uuids actually match the primary superblock on the data device.  If
the rt superblock is good, attach it to the xfs_mount so that the log
can use ordered buffers to keep this primary in sync with the primary
super on the data device.

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