]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: define locking primitives for realtime groups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:19:05 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:35 +0000 (13:38 -0800)
commit0e4875b3fb24c5bfdf685876c76713cda5a23b65
treef06b8e4a8193ee13dafea17da4881e0e19fd2a86
parent87fe4c34a383d51ec75f254240bcd08828f4ce5a
xfs: define locking primitives for realtime groups

Define helper functions to lock all metadata inodes related to a
realtime group.  There's not much to look at now, but this will become
important when we add per-rtgroup metadata files and online fsck code
for them.

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