git: kernel - Check B_NOTMETA in buffer release code

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Apr 2 17:27:41 PDT 2011


commit 17c8b5ef529fed8bd69490fcb86293655ba693cf
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Apr 2 17:10:28 2011 -0700

    kernel - Check B_NOTMETA in buffer release code
    
    * When releasing the VM pages backing a buffer cache buffer if B_NOTMETA
      is set on the buffer attempt to move the pages to the VM page cache
      instead of leaving them on the active or inactive queue.
    
    * This partially deals with the double data caching which occurs when
      HAMMER's double_buffer mode is enabled by shortening the life of
      the pages backing the secondary buffer(s).

Summary of changes:
 sys/kern/vfs_bio.c |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/17c8b5ef529fed8bd69490fcb86293655ba693cf


-- 
DragonFly BSD source repository





More information about the Commits mailing list