diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-16 11:00:04 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-06-19 14:11:33 -0700 |
commit | 5a4c73342ad493c61f19a1406f47dcd35e18030f (patch) | |
tree | e07e69cd715c1e5dd3f38b92359c7332d3aa60bd /fs/xfs/libxfs/xfs_dir2_sf.c | |
parent | 3d4b4a3e30ae7a949c31e1e10268a3da4723d290 (diff) | |
download | lwn-5a4c73342ad493c61f19a1406f47dcd35e18030f.tar.gz lwn-5a4c73342ad493c61f19a1406f47dcd35e18030f.zip |
xfs: optimize _btree_query_all
Don't bother wandering our way through the leaf nodes when the caller
issues a query_all; just zoom down the left side of the tree and walk
rightwards along level zero.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_sf.c')
0 files changed, 0 insertions, 0 deletions