DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: HAMMER utility - Handle pruning when only snapshot meta-data present


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 10 Nov 2010 12:17:13 -0800 (PST)

commit 0551025b89baa39c4dba9406c0314cc00778de31
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Nov 10 12:12:45 2010 -0800

    HAMMER utility - Handle pruning when only snapshot meta-data present
    
    * If only snapshot meta-data is present and no snapshot softlinks are found
      hammer prune (and hammer cleanup) previous exited with an error.  This case
      can occur when creating manual snapshot softlinks and/or trying to prune
      a slave PFS.
    
    * In fact this is incorrect.  If meta-data is present we can prune based
      on that.

Summary of changes:
 sbin/hammer/cmd_softprune.c |   14 ++++++++++----
 sbin/hammer/hammer.8        |    6 +++++-
 2 files changed, 15 insertions(+), 5 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0551025b89baa39c4dba9406c0314cc00778de31


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]