linux_dsm_epyc7002/fs/xfs/scrub
Darrick J. Wong 12c6510e2f xfs: add helpers to dispose of old btree blocks after a repair
Now that we've plumbed in the ability to construct a list of dead btree
blocks following a repair, add more helpers to dispose of them.  This is
done by examining the rmapbt -- if the btree was the only owner we can
free the block, otherwise it's crosslinked and we can only remove the
rmapbt record.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2018-05-30 08:03:14 -07:00
..
agheader.c xfs: hoist xfs_scrub_agfl_walk to libxfs as xfs_agfl_walk 2018-05-15 18:12:50 -07:00
alloc.c xfs: skip scrub xref if corruption already noted 2018-05-15 17:57:05 -07:00
attr.c xfs: don't continue scrub if already corrupt 2018-05-15 18:12:50 -07:00
bmap.c xfs: add helpers to deal with transaction allocation and rolling 2018-05-30 08:03:14 -07:00
btree.c xfs: btree scrub should check minrecs 2018-05-15 17:57:05 -07:00
btree.h xfs: set up scrub cross-referencing helpers 2018-01-17 21:00:44 -08:00
common.c xfs: add helpers to deal with transaction allocation and rolling 2018-05-30 08:03:14 -07:00
common.h xfs: add helpers to deal with transaction allocation and rolling 2018-05-30 08:03:14 -07:00
dabtree.c xfs: scrub in-core metadata 2018-01-17 21:00:46 -08:00
dabtree.h xfs: scrub extended attribute leaf space 2017-11-01 15:03:16 -07:00
dir.c xfs: don't continue scrub if already corrupt 2018-05-15 18:12:50 -07:00
ialloc.c xfs: skip scrub xref if corruption already noted 2018-05-15 17:57:05 -07:00
inode.c xfs: add helpers to deal with transaction allocation and rolling 2018-05-30 08:03:14 -07:00
parent.c xfs: avoid ABBA deadlock when scrubbing parent pointers 2018-05-15 18:12:50 -07:00
quota.c xfs: quota scrub should use bmapbtd scrubber 2018-05-15 18:12:50 -07:00
refcount.c xfs: skip scrub xref if corruption already noted 2018-05-15 17:57:05 -07:00
repair.c xfs: add helpers to dispose of old btree blocks after a repair 2018-05-30 08:03:14 -07:00
repair.h xfs: add helpers to dispose of old btree blocks after a repair 2018-05-30 08:03:14 -07:00
rmap.c xfs: skip scrub xref if corruption already noted 2018-05-15 17:57:05 -07:00
rtbitmap.c xfs: scrub the data fork of the realtime inodes 2018-05-15 18:12:50 -07:00
scrub.c xfs: implement the metadata repair ioctl flag 2018-05-15 18:12:50 -07:00
scrub.h xfs: grab the per-ag structure whenever relevant 2018-05-30 08:03:14 -07:00
symlink.c xfs: scrub symbolic links 2017-10-26 15:38:26 -07:00
trace.c fs: xfs: remove duplicate includes 2017-12-08 17:51:05 -08:00
trace.h xfs: create tracepoints for online repair 2018-05-15 18:12:50 -07:00
xfs_scrub.h