LWN.net Logo

Supporting transactions in btrfs

Supporting transactions in btrfs

Posted Nov 12, 2009 23:27 UTC (Thu) by masoncl (subscriber, #47138)
In reply to: Supporting transactions in btrfs by dtlin
Parent article: Supporting transactions in btrfs

Btrfs actually already does this. When you fsync a file the metadata is written to a dedicated logging tree, and that file's data blocks go to disk along with the metadata for the dedicated tree.

The end result is that we only write data and metadata for the one file we're sending to fsync.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds