git: kernel - dm - Add support for BUF_CMD_FLUSH
    Matthew Dillon 
    dillon at crater.dragonflybsd.org
       
    Sat Aug 14 12:11:33 PDT 2010
    
    
  
commit 3adc52bcc8de8b33dc907dbde6a8c82fda056f93
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Aug 14 12:04:52 2010 -0700
    kernel - dm - Add support for BUF_CMD_FLUSH
    
    * Change the nestiobuf_*() code to count the number of sub-bios issued
      instead of counting the resid.  This allows the nestiobuf_*() API to
      be used to BUF_CMD_FLUSH.
    
    * Change the nestiobuf_*() API.  The nestiobuf_start() command is now
      nestiobuf_add().  Add a nestiobuf_init(mbio) and nestiobuf_start(mbio)
      wrapper around the adds.
    
    * Explicitly check for allowed BUF_CMD_* commands in device-mapper.c
    
    * Add a bypass to device-mapper.c to cause certain commands to be sent
      to all tbl's (BUF_CMD_FLUSH).
    
    * Add explicit suppor for BUF_CMD_FLUSH to dm_target_stripe.c
    
    * Change b_resid loading semantics to load upon completion of the
      I/O.
Summary of changes:
 sys/dev/disk/dm/device-mapper.c    |   62 +++++++++++++-------
 sys/dev/disk/dm/dm_target_stripe.c |  107 ++++++++++++++++++++++--------------
 sys/dev/disk/dm/dm_target_zero.c   |    4 +-
 sys/kern/vfs_bio.c                 |   79 ++++++++++++++++++++++----
 sys/sys/buf.h                      |    5 +-
 5 files changed, 178 insertions(+), 79 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3adc52bcc8de8b33dc907dbde6a8c82fda056f93
-- 
DragonFly BSD source repository
    
    
More information about the Commits
mailing list