From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Subject: Re: Two questions about stripe_cache_size Date: Wed, 23 Feb 2011 09:24:22 +1100 Message-ID: <20110223092422.230875fa@notabene.brown> References: <20110223090105.4be62a1e@notabene.brown> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-raid-owner@vger.kernel.org To: "Patrick J. LoPresti" Cc: linux-raid@vger.kernel.org List-Id: linux-raid.ids On Tue, 22 Feb 2011 14:13:14 -0800 "Patrick J. LoPresti" wrote: > Thanks, Neil. Actually, I think I have one more question... (Well, > one question with many faces.) > > Is the stripe cache write-back, or write-through? If the latter, when > does it get flushed to disk, exactly? > Write-through. However I am tempted to make it write-back as filesystems now submit 'flush' requests which can be used to flush the cache. I wonder if you would be able to notice any performance difference... NeilBrown