hammer - Add tunable vfs.hammer.skip_redo
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Tue, 14 Aug 2012 19:55:36 +0000 (21:55 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 15 Aug 2012 19:03:17 +0000 (21:03 +0200)
commitdbd4f60002b98556e6fc8413e6eacf2aedfce6df
treec837b52bc1420953c96e0f19b505d1795ab532c1
parent9d1692ad24c38561d5181fff115f77f8b40b08ba
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
share/man/man5/hammer.5
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_recover.c