git: kernel - Expand breadnx/breadcb/cluster_readx/cluster_readcb API

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


commit 9c93755a1ee7b4b30e42a26b169332139cee077a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Sep 9 10:12:35 2017 -0700

    kernel - Expand breadnx/breadcb/cluster_readx/cluster_readcb API
    
    * Pass B_NOTMETA flagging into breadnx(), breadcb(), cluster_readx(),
      and cluster_readcb().
    
      Solve issues where data can wind up not being tagged B_NOTMETA
      in read-ahead and clustered buffers.
    
    * Adjust the standard bread(), breadn(), and cluster_read() inlines
      to pass B_NOTMETA.

Summary of changes:
 sys/kern/vfs_bio.c     | 17 +++++++++++------
 sys/kern/vfs_cluster.c | 37 ++++++++++++++++++++++++-------------
 sys/sys/buf.h          | 10 +++++-----
 sys/sys/buf2.h         | 12 ++++++------
 4 files changed, 46 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c93755a1ee7b4b30e42a26b169332139cee077a


-- 
DragonFly BSD source repository



More information about the Commits mailing list