[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140611120713.GB16616@infradead.org>
Date: Wed, 11 Jun 2014 05:07:13 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Vaughan Cao <vaughan.cao@...cle.com>
Cc: JBottomley@...allels.com, hch@...radead.org,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] notify block layer when using temporary change to
cache_type
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 <vaughan.cao@...cle.com>
Looks good,
Reviewed-by: Christoph Hellwig <hch@....de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists