linux-stable/fs/xfs/scrub
Darrick J. Wong 84d42ea6b6 xfs: implement the metadata repair ioctl flag
Plumb in the pieces necessary to make the "scrub" subfunction of
the scrub ioctl actually work.  This means that we make the IFLAG_REPAIR
flag to the scrub ioctl actually do something, and we add an errortag
knob so that xfstests can force the kernel to rebuild a metadata
structure even if there's nothing wrong with it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
2018-05-15 18:12:50 -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: don't continue scrub if already corrupt 2018-05-15 18:12:50 -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: avoid ABBA deadlock when scrubbing parent pointers 2018-05-15 18:12:50 -07:00
common.h xfs: hoist xfs_scrub_agfl_walk to libxfs as xfs_agfl_walk 2018-05-15 18:12:50 -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: skip scrub xref if corruption already noted 2018-05-15 17:57:05 -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: implement the metadata repair ioctl flag 2018-05-15 18:12:50 -07:00
repair.h xfs: implement the metadata repair ioctl flag 2018-05-15 18:12:50 -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: implement the metadata repair ioctl flag 2018-05-15 18:12:50 -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