]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: simplify rt_lock handling
authorChristoph Hellwig <hch@lst.de>
Thu, 21 Nov 2024 00:24:34 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:33 +0000 (18:01 -0800)
commit4933b7fa4d424a0c0f1d9c1f8c55483c0928b60e
tree5fc4c2eebe060aef355ed35b5de9ca020d118920
parent9fe5aa9c9c23f2e5101e17525ab769b4d84caf62
xfs_repair: simplify rt_lock handling

No need to cacheline align rt_lock if we move it next to the data
it protects.  Also reduce the critical section to just where those
data structures are accessed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
repair/dinode.c
repair/globals.c
repair/globals.h
repair/incore.c