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

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jan 2010 15:01:06 -0800 (PST)

commit 91ed3855cd224e2fb87282438fba838403114116
Author: Matthew Dillon <dillon@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@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



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