kernel - Check B_NOTMETA in buffer release code
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 00:10:28 +0000 (17:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 00:10:28 +0000 (17:10 -0700)
commit17c8b5ef529fed8bd69490fcb86293655ba693cf
tree9f6e03861ca2da4eb806568715fb2490a534f3be
parent7c7ea4df5a1615989f14ad484332feb6fefdd41e
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).
sys/kern/vfs_bio.c