On Wed, May 09, 2012 at 08:48:04PM +0800, Zheng Liu wrote: > Thanks for your explanation. It seems that there still has a problem. > If I set the disk to write through mode, I need to modify my application > to remove all of flush/sync operations. It is unacceptable for us. You don't have to - the kernel will not send a SYNCHRONIZE CACHE command unless the disk advertises a write back cache. -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html