]> 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)
commitbaf53692ebc48a1b10064465252657e3211f6300
tree30c928ac2d717b95873a3ecc3cd590037e310433
parentfe5a728e3a2434723ce0e0e70ded40176b096867
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