]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: check the realtime superblock at mount time
authorDarrick J. Wong <djwong@kernel.org>
Tue, 15 Oct 2024 19:39:00 +0000 (12:39 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:36:11 +0000 (13:36 -0800)
commit64893baf6dc222363af4b1023cd11c59ce203aa4
tree667d976b2e25f76f39bb3724c78c9dc1f4431b64
parentd724718b22c8fe1d209c179e5afdc5d27bc4372d
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