HAMMER - break atomicy for huge reads and writes.
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 04:06:23 +0000 (21:06 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 19 Aug 2009 04:06:23 +0000 (21:06 -0700)
commitf864373ff918ca8be59bfbb575c27256b3f5cd02
treef031bb29c013740ee5e05da006f9bd487342878c
parente54488bbec5c9f80e95cedd395b0e3d31fde253d
HAMMER - break atomicy for huge reads and writes.

* Allow reads or writes in excess of 100MB to be interrupted.  Otherwise
  it is a simple matter to DOS the machine into oblivion.

  And if you think it could be bad on a 32 bit machine, just think what
  can happen on a 64-bit machine with a multi-terrabyte address space!
sys/vfs/hammer/hammer_vnops.c