On February 10, 2009 11:53:39 PM -0500 Toby Thain
On 10-Feb-09, at 10:36 PM, Frank Cusack wrote:
On February 10, 2009 4:41:35 PM -0800 Jeff Bonwick
Not if the disk drive just *ignores* barrier and flush-cache commands
and returns success. Some consumer drives really do exactly that.
If it were possible to detect such disks, I'd add code to ZFS that
would simply refuse to use them. Unfortunately, there is no reliable
way to test the functioning of synchonize-cache programmatically.
How about a database of known bad drives? Like the format.dat of old.
The intransigence of disk makers is incredible. Name and shame might
I, for one, don't really care about shaming any vendor. I care about
not using broken products. The database need not be compiled by Sun,
but it should (ideally) be distributed by them (in OpenSolaris) and
supported by zfs.