Il 15-11-2017 20:47 Christoph Hellwig ha scritto:
And in that case it will report WCE=0 and Linux won't even flush. As is the case for typical enterprise disks.
Good point. Based on what I read here[1], page n.4, it *seems* that Seagate AWC (advanced write cache) enabled drives report WCD (write cache disabled) to the host OS.
I think this is the key parameter to watch: if the HDD vendor is confident enough to report WCE=0/WCD, than it should be safe running without barriers (after all, in this case Linux *will* disable barrier by default).
Thank you Christoph for pointing that. Regards. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@xxxxxxxxxx - info@xxxxxxxxxx GPG public key ID: FF5F32A8 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html