git: kernel - Add cluster_readcb()

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jun 14 17:51:58 PDT 2013


commit dbb11a6e37f9767994b396b232c23f53c1810a2c
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jun 14 17:42:11 2013 -0700

    kernel - Add cluster_readcb()
    
    * This function is similar to breadcb() in that it issues the requested
      buffer I/O asynchronously with a callback, but then also clusters
      additional asynchronous I/Os (without a callback) to improve performance.
    
    * Used by HAMMER2 to improve performance.

Summary of changes:
 sys/kern/vfs_cluster.c | 335 ++++++++++++++++++++++++++++++++++++++++++++++---
 sys/sys/buf.h          |   2 +
 sys/sys/buf2.h         |   1 -
 3 files changed, 319 insertions(+), 19 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list