From: Christoph Hellwig Subject: Re: Notes on block I/O data integrity Date: Tue, 25 Aug 2009 21:36:21 +0200 Message-ID: <20090825193621.GA19778@lst.de> References: <20090825181120.GA4863@lst.de> <90eb1dc70908251233m4b90ddfuabb4d26bccd62c63@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , qemu-devel@nongnu.org, kvm@vger.kernel.org, rusty@rustcorp.com.au To: Javier Guerra Return-path: Received: from verein.lst.de ([213.95.11.210]:57506 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755725AbZHYTgb (ORCPT ); Tue, 25 Aug 2009 15:36:31 -0400 Content-Disposition: inline In-Reply-To: <90eb1dc70908251233m4b90ddfuabb4d26bccd62c63@mail.gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Aug 25, 2009 at 02:33:30PM -0500, Javier Guerra wrote: > On Tue, Aug 25, 2009 at 1:11 PM, Christoph Hellwig wrote: > > ??- barrier requests and cache flushes are supported by all local > > ?? disk filesystem in popular use (btrfs, ext3, ext4, reiserfs, XFS). > > ?? However unlike the other filesystems ext3 does _NOT_ enable barriers > > ?? and cache flush requests by default. > > 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.