]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: have getfsmap fall back to the freesp btrees when rmap is not present
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 28 Mar 2017 21:56:37 +0000 (14:56 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 3 Apr 2017 22:18:18 +0000 (15:18 -0700)
commitc74d73699c8b0bb2bddfcb8c1ee731819c3e07f8
tree30c928ac2d717b95873a3ecc3cd590037e310433
parent621b5046f15fb002a01d11af780c9a6e2c860e93
xfs: have getfsmap fall back to the freesp btrees when rmap is not present

If the reverse-mapping btree isn't available, fall back to the
free space btrees to provide partial reverse mapping information.
The online scrub tool can make use of even partial information to
speed up the data block scan.

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