HAMMER Utility - Change the minimum UNDO/REDO FIFO from 100M to 500M
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 10 Feb 2011 22:32:25 +0000 (14:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 10 Feb 2011 22:32:25 +0000 (14:32 -0800)
commitbc5587bb13c190cca35dd02e7941058c21480267
tree304ec6c8588881e9932205575784cfc4adf8894f
parent102ec8624d8de9eed684f376dbe3350c8e7cab30
HAMMER Utility - Change the minimum UNDO/REDO FIFO from 100M to 500M

* The minimum undo/redo fifo really needs to be larger.  Don't play
  around, make it 500M.  People who want to run HAMMER on small hard
  drives or images need to be cognizent of the requirement.

* This partially solves (only partially) a FIFO overflow condition.
  Effectively the complexity of buffered operations hammer allows to
  build up in the kernel could easily overflow a minimally-sized on-media
  UNDO/REDO FIFO.  Upping the requirement makes the case less likely.

  The remainder of the resolution will require some fixes in the
  HAMMER VFS code.

Reported-by: Thomas Nikolajsen <thomas.nikolajsen@mail.dk>
sbin/hammer/ondisk.c
sbin/newfs_hammer/newfs_hammer.c