HAMMER VFS - Cleanup a swapcache hammer_vop_write() case
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 01:55:53 +0000 (18:55 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 01:55:53 +0000 (18:55 -0700)
commitfec588365e0be1570aceb2231dbe19e59dadb60f
treed297ab0d69b23a5afd81b7ba442d9145b6dd6c70
parenta1ef9200bdb647f6277c6adf5e23c8dfee9d0b24
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.
sys/vfs/hammer/hammer_vnops.c