git: DragonFly_RELEASE_4_6 kernel - Fix cluster_write() inefficiency

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Mar 7 20:40:00 PST 2017


commit fef471985bce310a264c2324320d006fae63143d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 6 17:36:48 2017 -0800

    kernel - Fix cluster_write() inefficiency
    
    * A bug in the cluster code was causing HAMMER to write out 64KB buffers in
      32KB overlapping segments, resulting in data being written to the media
      twice.
    
    * This fix just about doubles HAMMER's sequential write bandwidth.

Summary of changes:
 sys/kern/vfs_cluster.c | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fef471985bce310a264c2324320d006fae63143d


-- 
DragonFly BSD source repository


More information about the Commits mailing list