HAMMER VFS - Disallow rebalancing on small-memory machines
commit12eb5fd7080136c7a607230bd186302e4d200199
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 26 Jan 2010 20:50:33 +0000 (26 12:50 -0800)
committerThomas Nikolajsen <thomas@dragonflybsd.org>
Mon, 15 Feb 2010 05:59:50 +0000 (15 06:59 +0100)
tree277aec052c4d77c16e92da0a353997f3d9003d74
parentca4c0f6640c9645826c22645ee931b442a2f2c33
HAMMER VFS - Disallow rebalancing on small-memory machines

* Rebalancing may have to hold upwards of 3900 buffers locked
  in the worst case, disallow the operation on machines which
  do not configure enough buffer cache buffers.

DragonFly-bug: issue1552
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_ioctl.c