diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-14 10:29:15 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-08-16 19:06:18 -0700 |
commit | bd179376082426cc925f7188330e39997a30e900 (patch) | |
tree | 6ff2d0071b2b737b24f83ea1c043532267d9cccb /samples/mic/mpssd/sysfs.c | |
parent | 2f8acb940dbb6cdf5d3177218fbbafbc3e10a9d1 (diff) |
xfs: bmap scrub should only scrub records oncexfs-5.4-fixes_2019-08-16
The inode block mapping scrub function does more work for btree format
extent maps than is absolutely necessary -- first it will walk the bmbt
and check all the entries, and then it will load the incore tree and
check every entry in that tree.
Reduce the run time of the ondisk bmbt walk if the incore tree is loaded
by checking that the incore tree has an exact match for the bmbt extent.
Similarly, skip the incore tree walk if we have to load it from the
bmbt, since we just checked that.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'samples/mic/mpssd/sysfs.c')
0 files changed, 0 insertions, 0 deletions