git: kernel - Fix cluster_write() inefficiency

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 6 17:39:40 PST 2017


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


-- 
DragonFly BSD source repository


More information about the Commits mailing list