git: hammer2 - Stabilization

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Nov 7 21:54:02 PST 2013


commit 904de023fba0b7649692f09b68f6a7c1cba8d38a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Nov 7 21:51:46 2013 -0800

    hammer2 - Stabilization
    
    * Fix a bug where deferrals could cause a parent chain to be modified
      twice during a flush, and thus cause it to be flushed twice.
    
      The problem is that the double-modification is going from the current
      transaction id to the same id.  Block table updates can't tell whether
      the update has already been made in this situation and will try to apply
      the update twice, generally resulting in an assertion.

Summary of changes:
 sys/vfs/hammer2/hammer2_flush.c | 44 ++++++++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/904de023fba0b7649692f09b68f6a7c1cba8d38a


-- 
DragonFly BSD source repository



More information about the Commits mailing list