Change newfs_hammer to reserve a minimum of 100M for the UNDO FIFO. Any
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Jul 2008 05:40:14 +0000 (05:40 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 24 Jul 2008 05:40:14 +0000 (05:40 +0000)
commit0d86737d6a7cf83b63ef450be5cad11a63ceb014
tree2d6a9cfd053823224388624ae4bdfd6527f3e143
parentfeafdc7d7ce4b348d80ac918d7bf53f3062c2b3c
Change newfs_hammer to reserve a minimum of 100M for the UNDO FIFO.  Any
smaller and we risk a filesystem panic due to insufficient UNDO space.

Add warnings to newfs_hammer when the created filesystem is fairly small.

Reported-by: M.K. <mk@freeweb.ozi.nu>:
sbin/hammer/ondisk.c
sbin/newfs_hammer/newfs_hammer.c