git: hammer - Add tunable vfs.hammer.skip_redo

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Wed Aug 15 12:04:32 PDT 2012


commit dbd4f60002b98556e6fc8413e6eacf2aedfce6df
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Tue Aug 14 21:55:36 2012 +0200

    hammer - Add tunable vfs.hammer.skip_redo
    
    This tunable can be used to change the behaviour of the redo
    recovery in the case a HAMMER filesystem is not able to mount.
    
    Following values are accepted:
    
    	0 - Run redo recovery normally and fail to mount if
    	    the operation fails (default).
    	1 - Run redo recovery, but don't fail to mount if the
    	    operation fails.
    	2 - Completely skip redo recovery (only for severe error
    	    conditions and/or debugging).
    
    Pointed-out-by: dillon

Summary of changes:
 share/man/man5/hammer.5         |   20 +++++++++++++++++++-
 sys/vfs/hammer/hammer.h         |    1 +
 sys/vfs/hammer/hammer_recover.c |   33 ++++++++++++++++++++++++++++++++-
 3 files changed, 52 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list