]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs: refactor realtime inode locking
authorChristoph Hellwig <hch@lst.de>
Mon, 29 Jul 2024 23:22:41 +0000 (16:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:01 +0000 (17:01 -0700)
commitb402af2568ddbbd7d194af3e2f50df12201fb4a7
tree199b2b128d30d912e8917a4d8344b836c97bc781
parent5ee532ce145ec6c3250b7b10f42da0ad07d2ea14
xfs: refactor realtime inode locking

Source kernel commit: b7e23c0e2e3b1c520a3370f058870b914071a470

Create helper functions to deal with locking realtime metadata inodes.
This enables us to maintain correct locking order once we start adding
the realtime rmap and refcount btree inodes.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
libxfs/libxfs_priv.h
libxfs/xfs_bmap.c
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h