linux/fs/xfs/scrub
Christoph Hellwig b2b1712a64 xfs: introduce the xfs_iext_cursor abstraction
Add a new xfs_iext_cursor structure to hide the direct extent map
index manipulations. In addition to the existing lookup/get/insert/
remove and update routines new primitives to get the first and last
extent cursor, as well as moving up and down by one extent are
provided.  Also new are convenience to increment/decrement the
cursor and retreive the new extent, as well as to peek into the
previous/next extent without updating the cursor and last but not
least a macro to iterate over all extents in a fork.

[darrick: rename for_each_iext to for_each_xfs_iext]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2017-11-06 11:53:40 -08:00
..
agheader.c xfs: scrub the AGI 2017-10-26 15:38:24 -07:00
alloc.c xfs: scrub free space btrees 2017-10-26 15:38:25 -07:00
attr.c xfs: scrub extended attribute leaf space 2017-11-01 15:03:16 -07:00
bmap.c xfs: introduce the xfs_iext_cursor abstraction 2017-11-06 11:53:40 -08:00
btree.c xfs: compare btree block keys to parent block's keys during scrub 2017-10-27 09:20:31 -07:00
btree.h xfs: create helpers to scrub a metadata btree 2017-10-26 15:38:24 -07:00
common.c xfs: scrub directory metadata 2017-10-26 15:38:25 -07:00
common.h xfs: scrub quota information 2017-10-26 15:38:26 -07:00
dabtree.c xfs: scrub: avoid uninitialized return code 2017-11-03 09:45:56 -07:00
dabtree.h xfs: scrub extended attribute leaf space 2017-11-01 15:03:16 -07:00
dir.c xfs: introduce the xfs_iext_cursor abstraction 2017-11-06 11:53:40 -08:00
ialloc.c xfs: scrub inode btrees 2017-10-26 15:38:25 -07:00
inode.c xfs: scrub inodes 2017-10-26 15:38:25 -07:00
parent.c xfs: scrub directory parent pointers 2017-10-26 15:38:26 -07:00
quota.c xfs: scrub quota information 2017-10-26 15:38:26 -07:00
refcount.c xfs: scrub refcount btrees 2017-10-26 15:38:25 -07:00
rmap.c xfs: scrub rmap btrees 2017-10-26 15:38:25 -07:00
rtbitmap.c xfs: scrub realtime bitmap/summary 2017-10-26 15:38:26 -07:00
scrub.c xfs: scrub quota information 2017-10-26 15:38:26 -07:00
scrub.h xfs: scrub quota information 2017-10-26 15:38:26 -07:00
symlink.c xfs: scrub symbolic links 2017-10-26 15:38:26 -07:00
trace.c xfs: create helpers to scrub a metadata btree 2017-10-26 15:38:24 -07:00
trace.h xfs: scrub btree keys and records 2017-10-26 15:38:24 -07:00
xfs_scrub.h