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

git: hammer2 hammer2 - SPAN protocol work


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Aug 2012 18:37:14 -0700 (PDT)

commit cf7158008b31a0a05335c5c3d5438de35f5740fc
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Wed Aug 8 18:32:16 2012 -0700

    hammer2 - SPAN protocol work
    
    * Because we allow loops in the graph the loss of a feeder node can
      result in a tail-chasing loop of SPAN updates with an ever-growing
      distance parameter.
    
      To deal with this a spanning tree distance limit is required, beyond
      which no propagation occurs which terminates the chase.  The tail
      then catches up to the head and the node is finally removed from
      the spanning tree entirely.
    
      This fixes the propagation of spanning tree deletions e.g. when we
      umount a HAMMER2 PFS.
    
    * Fix a state insertion bug.  A structure was being inserted into the
      red-black tree before the required fields were being initialized.
      Corrects a SPAN propagation fault.

Summary of changes:
 sbin/hammer2/msg.c     |   67 +++++++++++++++++++++++++++----------------
 sbin/hammer2/msg_lnk.c |   73 +++++++++++++++++++++++++++++++++--------------
 2 files changed, 93 insertions(+), 47 deletions(-)

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


-- 
DragonFly BSD source repository



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