git: HAMMER VFS - Cleanup a swapcache hammer_vop_write() case

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 2 18:59:41 PDT 2011


commit fec588365e0be1570aceb2231dbe19e59dadb60f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 2 18:55:53 2011 -0700

    HAMMER VFS - Cleanup a swapcache hammer_vop_write() case
    
    * Mark buffers created via write() B_NOTMETA if hammer's double buffer
      mode is enabled.  When both the hammer double buffer mode and swapcache
      is enabled this will cause the system to re-read the file from disk
      once (via the block device) before attempting to swapcache it.

Summary of changes:
 sys/vfs/hammer/hammer_vnops.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list