]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: add rtgroup-based realtime scrubbing context management
authorDarrick J. Wong <djwong@kernel.org>
Mon, 23 Sep 2024 20:41:10 +0000 (13:41 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 2 Oct 2024 01:10:44 +0000 (18:10 -0700)
commitbde92d193bd988b4fd7e9cea0ec7ded9b0189f06
treea74c5ff9d7ea93ce888b99f349ec77ff295c600a
parent90306a0f34654bb6849faf2e89a9a245e4321077
xfs: add rtgroup-based realtime scrubbing context management

Create a pair of helpers to deal with setting up the necessary incore
context to check metadata records against the realtime metadata.  Right
now this is limited to locking the realtime bitmap and summary inodes,
but as we add rmap and reflink to the realtime device this will grow to
include btree cursors.

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