]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: define locking primitives for realtime groups
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:19 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:28 +0000 (18:01 -0800)
commit5a96f6eed331c333ad6a9f597bb203812567a95a
tree579308c2b7eff4c8935a01ab8defac4fda717010
parent001b79f0b7fcbe931e8366154f6effeedfcfc49a
xfs: define locking primitives for realtime groups

Source kernel commit: 0e4875b3fb24c5bfdf685876c76713cda5a23b65

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>
libxfs/xfs_rtgroup.c
libxfs/xfs_rtgroup.h