]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: optimize _btree_query_all
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 16 Jun 2017 18:00:04 +0000 (11:00 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 19 Jun 2017 21:11:33 +0000 (14:11 -0700)
commit843d173332abdc743c39f28cfe7df92592a98b96
treee07e69cd715c1e5dd3f38b92359c7332d3aa60bd
parent37650dd1975a37650bc8b086600353020efd6d25
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>
fs/xfs/libxfs/xfs_btree.c