From: Krzysztof Halasa Subject: Re: wishful thinking about atomic, multi-sector or full MD stripe width, writes in storage Date: Fri, 04 Sep 2009 01:50:42 +0200 Message-ID: References: <20090828064449.GA27528@elf.ucw.cz> <20090828120854.GA8153@mit.edu> <20090830075135.GA1874@ucw.cz> <4A9A88B6.9050902@redhat.com> <4A9A9034.8000703@msgid.tls.msk.ru> <20090830163513.GA25899@infradead.org> <4A9BCCEF.7010402@redhat.com> <20090831131626.GA17325@infradead.org> <4A9BCDFE.50008@rtr.ca> <20090831132139.GA5425@infradead.org> <4A9F230F.40707@redhat.com> <4A9FA5F2.9090704@redhat.com> <4A9FC9B3.1080809@redhat.com> <4A9FCF6B.1080704@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Mark Lord , Michael Tokarev , david@lang.hm, Pavel Machek , Theodore Tso , NeilBrown , Rob Landley , Florian Weimer , Goswin von Brederlow , kernel list , Andrew Morton , mtk.manpages@gmail.com, rdunlap@xenotime.net, linux-doc@vger.kernel.org, linux-ext4@vger.kernel.org, corbet@lwn.net To: Ric Wheeler Return-path: In-Reply-To: <4A9FCF6B.1080704@redhat.com> (Ric Wheeler's message of "Thu, 03 Sep 2009 10:15:07 -0400") Sender: linux-doc-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org Ric Wheeler writes: > The whole thread above is about software MD using commodity drives > (S-ATA or SAS) without battery backed write cache. Yes. However, you mentioned external RAID arrays disable disk caches. That's why I asked if they are using SATA or SCSI/etc. disks, and if they have battery-backed cache. > Also, when you enable the write cache (MD or not) you are buffering > multiple MB's of data that can go away on power loss. Far greater > (10x) the exposure that the partial RAID rewrite case worries about. The cache is flushed with working barriers. I guess it should be superior to disabled WB cache, in both performance and expected disk lifetime. -- Krzysztof Halasa