DragonFly commits List (threaded) for 2008-07
DragonFly BSD
DragonFly commits List (threaded) for 2008-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/sys bio.h buf.h src/sys/kern vfs_bio.c vfs_cluster.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 13 Jul 2008 20:09:00 -0700 (PDT)

dillon      2008/07/13 20:09:00 PDT

DragonFly src repository

  Modified files:
    sys/sys              bio.h buf.h 
    sys/kern             vfs_bio.c vfs_cluster.c 
  Log:
  Kernel support for HAMMER:
  
  * Add another type to the bio->bio_caller_info1 union
  
  * Add two new flags to getblk(), used by the cluster code.
  
    GETBLK_SZMATCH	- Tell getblk() to fail and return NULL if a
  			  pre-existing buffer's size does not match
  			  the requested size (this prevents getblk()
  			  from doing a potentially undesired bwrite()
  			  sequence).
  
    GETBLK_NOWAIT		- Tell getblk() to use a non-blocking lock.
  
  * pop_bio() now returns the previous BIO (or NULL if there is no previous
    BIO).  This allows HAMMER to chain bio_done()'s
  
  * Fix a bug in cluster_read().  The cluster code's read-ahead at the
    end could go past the caller-specified limit and force a block to
    the wrong block size.
  
  Revision  Changes    Path
  1.6       +1 -0      src/sys/sys/bio.h
  1.51      +8 -1      src/sys/sys/buf.h
  1.112     +21 -2     src/sys/kern/vfs_bio.c
  1.40      +14 -23    src/sys/kern/vfs_cluster.c


http://www.dragonflybsd.org/cvsweb/src/sys/sys/bio.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/buf.h.diff?r1=1.50&r2=1.51&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_bio.c.diff?r1=1.111&r2=1.112&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_cluster.c.diff?r1=1.39&r2=1.40&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]