HAMMER VFS - REDO implementation base code part 3/many (addendum2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Jan 2010 22:55:41 +0000 (14:55 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 12 Jan 2010 22:55:41 +0000 (14:55 -0800)
commit91ed3855cd224e2fb87282438fba838403114116
tree1ab6c182cb7df43a2ff9df986655c7b5213c6410
parent409cda563e80656e99a0822f98c3f5a83e3f1dee
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>
sys/vfs/hammer/hammer_flusher.c