On Tue, Jun 03, 2014 at 05:37:30PM +0800, Vaughan Cao wrote: > This is a fix for commit: > 39c60a0948cc06139e2fbfe084f83cb7e7deae3b sd: fix array cache flushing bug > causing performance problems > We must notify the block layer via q->flush_flags after temporary change the > cache_type to write through. > If not, SYNCHRONIZE CACHE command will still be generated. > This patch factors out a helper that can be called from sd_revalidate_disk > and cache_type_store. > > Signed-off-by: Vaughan Cao <[email protected]>
Looks good, Reviewed-by: Christoph Hellwig <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

