<br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 11:25 AM, Ric Wheeler <span dir="ltr"><<a href="mailto:ricwheeler@gmail.com">ricwheeler@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 12/08/2010 06:52 AM, Dan Kennedy wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Thanks. But to be clear, is data=ordered better than data=writeback<br>
wrt. data integrity following a power failure?<br>
<br>
Regards,<br>
Dan.<br>
<br>
</blockquote>
<br></div>
Data integrity can mean a couple of different things.<br>
<br>
If you are file system meta-data centric (i.e., a file system developer or just worried about having to run fsck after a crash to repair the file system), then both options *should* be equivalent.<br>
<br>
If you are one of those annoying users who define data integrity to include those annoying details like will my file have garbage in it after a crash that will make my DB or other app puke, then data ordered is clearly more robust.<br>
</blockquote><div><br>Thanks, Ric.  Yes, we are numbered among the "annoying users".  Based on what you are telling us, we'll recommend that people use data=ordered, barrier=1 for maximum data reliability in the face of power loss.<br>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Note that most distributions (including RHEL) support & focus testing only ordered mode....<br>
<br>
Hope this helps :)<br><font color="#888888">
<br>
Ric</font><div><div></div><div class="h5"><br>
<br>
_______________________________________________<br>
Ext3-users mailing list<br>
<a href="mailto:Ext3-users@redhat.com" target="_blank">Ext3-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/ext3-users" target="_blank">https://www.redhat.com/mailman/listinfo/ext3-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>D. Richard Hipp<br><a href="mailto:drh@sqlite.org" target="_blank">drh@sqlite.org</a><br>