git: DragonFly_RELEASE_6_0 hammer2 - Do not exit on a bad volume header if others are good

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jun 14 14:14:14 PDT 2021


commit 03ea1e398593a4bdf433d3644db544a3b449e458
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jun 14 12:58:22 2021 -0700

    hammer2 - Do not exit on a bad volume header if others are good
    
    * Do not exit if a bad volume header is encountered if others
      are good.  We only punt if none of the four volume headers is
      good.
    
      The point of having four is to be able to mount / access the filesystem
      even if one has become corrupted.

Summary of changes:
 sbin/hammer2/ondisk.c | 77 ++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 52 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/03ea1e398593a4bdf433d3644db544a3b449e458


-- 
DragonFly BSD source repository



More information about the Commits mailing list