cost of tdb transactions on ext4 with barriers

ronnie sahlberg ronniesahlberg at
Fri Feb 12 03:09:16 MST 2010

I would assume that fsync() is all I need in order to know confidently
that my data and metadata will always survive a crash.

On Fri, Feb 12, 2010 at 1:57 PM,  <tridge at> wrote:
> Hi Ronnie,
>  > Do you really need barriers on ext4?
> It depends if you want your data to survive a machine crash.
> For my development box, I'm happy to risk losing a small amount of
> data on a machine crash. For a production box it's not such a good
> thing.
> I'm not aware of anything unique in ext4 that allows it to avoid data
> corruption on system crash with barriers off. Maybe Rusty knows of
> something?
> Cheers, Tridge

More information about the samba-technical mailing list