Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   EXT3 Users (http://www.linux-archive.org/ext3-users/)
-   -   ext3 and forced unit access to flush disk cache (http://www.linux-archive.org/ext3-users/511860-ext3-forced-unit-access-flush-disk-cache.html)

Mark Busheman 04-08-2011 10:51 PM

ext3 and forced unit access to flush disk cache
 
I plan to use data=journal option with ext3 for a customer who is very
specific about the integrity of the data. Would like to know if ext4
send FUA (Forced Unit Access) to flush the disk cache?

Cheers
Mark

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users

Ric Wheeler 04-13-2011 07:34 PM

ext3 and forced unit access to flush disk cache
 
On 04/08/2011 06:51 PM, Mark Busheman wrote:

I plan to use data=journal option with ext3 for a customer who is very
specific about the integrity of the data. Would like to know if ext4
send FUA (Forced Unit Access) to flush the disk cache?

Cheers
Mark



ext4 by default uses "barrier" support and will issue the write commands
(depends on the storage type). You can "mount -o barrier" ext3 as well.


It will do this for its own metadata reasons and as part of an application
driven fsync() command, so the customer data should be safe if their application
is coded properly.


Regards,

Ric

_______________________________________________
Ext3-users mailing list
Ext3-users@redhat.com
https://www.redhat.com/mailman/listinfo/ext3-users


All times are GMT. The time now is 05:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.