kernel - Add cluster_readcb()
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Jun 2013 00:42:11 +0000 (17:42 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 15 Jun 2013 00:42:11 +0000 (17:42 -0700)
commitdbb11a6e37f9767994b396b232c23f53c1810a2c
tree617648ba9e3c8880fa70a1c8d61145c90269b49b
parent19d2a6d6869c8a4414ba0510356148d3f3b64f2d
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.
sys/kern/vfs_cluster.c
sys/sys/buf.h
sys/sys/buf2.h