git: HAMMER Utility - Change the minimum UNDO/REDO FIFO from 100M to 500M

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Feb 10 14:36:24 PST 2011


commit bc5587bb13c190cca35dd02e7941058c21480267
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Feb 10 14:32:25 2011 -0800

    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 at mail.dk>

Summary of changes:
 sbin/hammer/ondisk.c             |   10 +++++++---
 sbin/newfs_hammer/newfs_hammer.c |    5 +++++
 2 files changed, 12 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bc5587bb13c190cca35dd02e7941058c21480267


-- 
DragonFly BSD source repository





More information about the Commits mailing list