2 ms·
Why not just sync the data change and sync the metadata changes only to a write-ahead log? Or if the data is logged also, you only need to sync the log. I assu
by jeffdavis 14y ago
Why not just sync the data change and sync the metadata changes only to a write-ahead log? Or if the data is logged also, you only need to sync the log.
I assume btrfs uses a log, right?
- rogerbinns 14y agoA tree is the main data structure. The inspiration is this pdf http://www.usenix.org/events/lsf07/tech/rodeh.pdf http://www.usenix.org/events/lsf07/tech/rodeh.pdf There is a log to help with fsyncs. http://en.wikipedia.org/wiki/Btrfs http://en.wikipedia.org/wiki/Btrfs