Re: ext2/3: document conditions when reliable operation is possible
From: Robert Hancock <hidden>
Date: 2009-08-29 01:33:06
Also in:
lkml
From: Robert Hancock <hidden>
Date: 2009-08-29 01:33:06
Also in:
lkml
On 03/12/2009 01:13 PM, Rob Landley wrote:
quoted
+* write caching is disabled. ext2 does not know how to issue barriers + as of 2.6.28. hdparm -W0 disables it on SATA disks.And here we're talking about ext2. Does neither one know about write barriers, or does this just apply to ext2? (What about ext4?) Also I remember a historical problem that not all disks honor write barriers, because actual data integrity makes for horrible benchmark numbers. Dunno how current that is with SATA, Alan Cox would probably know.
I've heard rumors of disks that claim to support cache flushes but really just ignore them, but have never heard any specifics of model numbers, etc. which are known to do this, so it may just be legend. If we do have such knowledge then we should really be blacklisting those drives and warning the user that we can't ensure data integrity. (Even powering down the system would be unsafe in this case.)