Searched hist:"48039926197522 f32b548731a3b94331f0551bdc" (Results 1 – 2 of 2) sorted by relevance
/linux/fs/xfs/scrub/ |
H A D | health.h | diff 48039926197522f32b548731a3b94331f0551bdc Thu Feb 22 21:39:48 CET 2024 Christoph Hellwig <hch@lst.de> xfs: refactor the btree cursor allocation logic in xchk_ag_btcur_init
Change xchk_ag_btcur_init to allocate all cursors first and only then check if we should delete them again because the btree is to damaged.
This allows reusing the sick_mask in struct xfs_btree_ops and simplifies the code.
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>
|
H A D | health.c | diff 48039926197522f32b548731a3b94331f0551bdc Thu Feb 22 21:39:48 CET 2024 Christoph Hellwig <hch@lst.de> xfs: refactor the btree cursor allocation logic in xchk_ag_btcur_init
Change xchk_ag_btcur_init to allocate all cursors first and only then check if we should delete them again because the btree is to damaged.
This allows reusing the sick_mask in struct xfs_btree_ops and simplifies the code.
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>
|