HAMMER VFS - Force reading from the block device when live dedup is enabled
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 00:25:25 +0000 (17:25 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 3 Apr 2011 00:25:25 +0000 (17:25 -0700)
commita1ef9200bdb647f6277c6adf5e23c8dfee9d0b24
tree785f0881ce45b87b6df40475c367378bfaebf63f
parent18bee4a2762368921be967944760f01b314b01fd
HAMMER VFS - Force reading from the block device when live dedup is enabled

* Attempting to access the vnode's buffer cache is currently not MPSAFE
  and can cause crashes so don't try to do that.  Use the block device
  instead.

* It is suggested but not required that vfs.hammer.double_buffer mode also
  be enabled if you use vfs.hammer.live.deup.
sys/vfs/hammer/hammer_dedup.c