]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: check the realtime superblock at mount time
authorDarrick J. Wong <djwong@kernel.org>
Thu, 15 Aug 2024 18:48:08 +0000 (11:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Fri, 16 Aug 2024 21:54:14 +0000 (14:54 -0700)
commit9af71bf83f65d965eadad3fef42ea47923dd713c
tree8b94b84161af9ac9c94009cde1ac025b76fab657
parent9b17be4c541c77c6bff47af6d16048de80f5da32
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>
fs/xfs/xfs_mount.h
fs/xfs/xfs_rtalloc.c
fs/xfs/xfs_rtalloc.h
fs/xfs/xfs_super.c