git: HAMMER VFS - REDO implementation base code part 3/many (addendum2)

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 12 15:03:32 PST 2010


commit 91ed3855cd224e2fb87282438fba838403114116
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 12 14:55:41 2010 -0800

    HAMMER VFS - REDO implementation base code part 3/many (addendum2)
    
    * I/O interlock required when flushing UNDOs because REDOs can now
      be entered without holding the sync_lock.
    
    * We have to cache the UNDO/REDO FIFO's next index before flushing
      in case additional entries are created while we are finishing up
      the flush.
    
    Reported-by: Jan Lentfer <lentferj at crater.dragonflybsd.org>

Summary of changes:
 sys/vfs/hammer/hammer_flusher.c |   35 ++++++++++++++++++++++++++++-------
 1 files changed, 28 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/91ed3855cd224e2fb87282438fba838403114116


-- 
DragonFly BSD source repository





More information about the Commits mailing list