git: sys/vfs/hammer: make btree_search() climb up btree slightly faster

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Tue Jan 20 07:34:13 PST 2015


commit a9fd59b8032d8b40869dd1ff92c0b44dff59ed87
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/a9fd59b8032d8b40869dd1ff92c0b44dff59ed87


-- 
DragonFly BSD source repository



More information about the Commits mailing list