Re: Atomicity or the ext4 open-write-close-rename debacle

Patrick Goetz
2009-04-08T18:28:37Z

Chris Mason wrote:
>
> With 2.6.30, extra ordering is added to btrfs, making sure that metadata
> and data are both atomically replaced during a rename. In other words,
> for renames it will work like ext3 data=ordered mode.
>

Thanks for the speedy response.

After spending several hours slogging through the discussion on Ted
Tso's blog and spending much more time than anticipated learning about
FUA, write barriers, fsync vs. fdatasync, how fsync is implemented in
linux, etc., I'm curious about the technical details of how this is
accomplished. Any place where I can find this short of reading through
the source code?