]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2514761b1587460cd740c3629fb2e70173ad2220
tree113a27a8a96bf20b65c9757da6a3d26f99506867
parent5518379a70fca65f384b7e7da319cafae8af8e0e
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