From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MgQo7-000280-Uy for qemu-devel@nongnu.org; Wed, 26 Aug 2009 18:17:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MgQo3-00027U-KV for qemu-devel@nongnu.org; Wed, 26 Aug 2009 18:17:31 -0400 Received: from [199.232.76.173] (port=50438 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MgQo3-00027Q-Dk for qemu-devel@nongnu.org; Wed, 26 Aug 2009 18:17:27 -0400 Received: from verein.lst.de ([213.95.11.210]:56708) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1MgQo2-0000Xc-NE for qemu-devel@nongnu.org; Wed, 26 Aug 2009 18:17:27 -0400 Date: Thu, 27 Aug 2009 00:17:22 +0200 From: Christoph Hellwig Subject: Re: [Qemu-devel] Re: Notes on block I/O data integrity Message-ID: <20090826221722.GA1962@lst.de> References: <20090825181120.GA4863@lst.de> <90eb1dc70908251233m4b90ddfuabb4d26bccd62c63@mail.gmail.com> <20090825193621.GA19778@lst.de> <20090826185755.GF25726@shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826185755.GF25726@shareable.org> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: rusty@rustcorp.com.au, Javier Guerra , Christoph Hellwig , kvm@vger.kernel.org, qemu-devel@nongnu.org On Wed, Aug 26, 2009 at 07:57:55PM +0100, Jamie Lokier wrote: > Christoph Hellwig wrote: > > > what about LVM? iv'e read somewhere that it used to just eat barriers > > > used by XFS, making it less safe than simple partitions. > > > > Oh, any additional layers open another by cans of worms. On Linux until > > very recently using LVM or software raid means only disabled > > write caches are safe. > > I believe that's still true except if there's more than one backing > drive, so software RAID still isn't safe. Did that change? Yes, it did change. That beeing said with the amount of bugs in filesystems realted to write barriers my expectation for the RAID and device mapper code is not too high. I will recommend to keep doing what people caring for their data have been doing since these volatile write caches came up: turn them off.