Files
linux-kernel-test/drivers/scsi
Vaughan Cao cb2fb68d06 sd: notify block layer when using temporary change to cache_type
This is a fix for commit 39c60a0948

  "sd: fix array cache flushing bug causing performance problems"

We must notify the block layer via q->flush_flags after a temporary change
of the cache_type to write through.  Without this, a 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 <vaughan.cao@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-07-17 22:07:31 +02:00
..
2014-05-19 19:12:23 +02:00
2014-04-18 14:20:48 +02:00
2014-06-06 07:57:37 -06:00
2013-10-25 11:36:26 +01:00
2014-05-28 18:14:16 +02:00
2014-06-06 07:57:37 -06:00
2014-07-17 21:56:34 +02:00
2014-04-10 15:30:35 -07:00
2014-04-10 15:30:35 -07:00
2013-11-23 22:33:50 -08:00
2014-06-06 07:57:37 -06:00
2014-05-28 18:14:16 +02:00
2014-05-28 12:05:37 +02:00
2014-05-28 12:05:37 +02:00