DragonFly commits List (threaded) for 2008-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/vfs/hammer hammer.h hammer_disk.h hammer_io.c hammer_ondisk.c
:What's the status of UFS with soft updates with respect to disk cache
:flushing? Doesn't do it currently and therefore can't provide its
:guarantees for consistency after a power failure?
It's almost impossible to do with UFS unless you want to slow
performance to a crawl. While softupdates can gang unrelated writes
together, it can't gang dependant writes together at all so each
element in a dependancy chain would require its own flush command.
HAMMER dependancies work differently. HAMMER dependancies can be
ganged together into two groups of writes, typically requiring only
two flush commands to clean out the entire buffer cache.
-Matt
Matthew Dillon
<dillon@backplane.com>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]