xfs: compare btree block keys to parent block's keys during scrub
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 25 Oct 2017 22:03:46 +0000 (15:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 27 Oct 2017 16:20:31 +0000 (09:20 -0700)
commit2fdbec5cbeb93349836d682b1caa5cc72d1b7018
tree113a27a8a96bf20b65c9757da6a3d26f99506867
parent8210f4dda2d7642cb7c882db55e53d899cced401
xfs: compare btree block keys to parent block's keys during scrub

When we're done checking all the records/keys in a btree block, compute
the low and high key of the block and compare them to the associated key
in the parent btree block.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_btree.h
fs/xfs/scrub/btree.c