git: hammer2 - API breadnx / cluster_read API, bulkfree adj

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Sep 9 10:23:10 PDT 2017


commit c152fb8d2c26fabd1f7f53d8e9631bc8f385dddb
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 9 10:16:36 2017 -0700

    hammer2 - API breadnx / cluster_read API, bulkfree adj
    
    * API adjustments for breadnx() and cluster_readx() calls.  Properly
      separate data and meta-data flagging for better swapcache operation.
    
    * Separate cluster read parameters for data and meta-data.  Default
      data to 4 (+3 read-ahead) and meta-data to 1 (no read-ahead).

Summary of changes:
 sys/vfs/hammer2/hammer2.h          |  3 +-
 sys/vfs/hammer2/hammer2_bulkfree.c | 58 ++++++++++++++++++++++++++++++--------
 sys/vfs/hammer2/hammer2_chain.c    |  2 +-
 sys/vfs/hammer2/hammer2_io.c       | 40 ++++++++++++++++----------
 sys/vfs/hammer2/hammer2_vfsops.c   |  9 ++++--
 5 files changed, 81 insertions(+), 31 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list