git: DragonFly_RELEASE_4_0 sys/vfs/hammer: make btree_search() climb up btree slightly faster
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Tue Jan 20 10:06:06 PST 2015
commit 978531ec99c8d290c795bf526220b483e53bbd1e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Fri Jan 9 00:13:59 2015 +0900
sys/vfs/hammer: make btree_search() climb up btree slightly faster
- This cleanup patch lets cursor climb up deep/fat btree slightly faster
(lightweight), if not slower.
- Remove a duplicate check that traces back to a moment where there was
btree_node_is_almost_full() and the differentiation was needed.
Closes: #2765
Summary of changes:
sys/vfs/hammer/hammer_btree.c | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/978531ec99c8d290c795bf526220b483e53bbd1e
--
DragonFly BSD source repository
More information about the Commits
mailing list