From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx01.extmail.prod.ext.phx2.redhat.com [10.5.110.5]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oB2EHpmH001628 for ; Thu, 2 Dec 2010 09:17:51 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oB2EHdbh028484 for ; Thu, 2 Dec 2010 09:17:39 -0500 Date: Thu, 2 Dec 2010 09:17:37 -0500 From: Christoph Hellwig Message-ID: <20101202141737.GA29799@infradead.org> References: <4CF7A539.1050206@shiftmail.org> <20101202141134.GA22012@infradead.org> <4CF7A9C4.2040607@shiftmail.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4CF7A9C4.2040607@shiftmail.org> Subject: Re: [linux-lvm] Bugs in mkfs.xfs, device mapper, xfs, and /dev/ram Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Spelic Cc: Christoph Hellwig , linux-lvm@redhat.com, "linux-kernel@vger.kernel.org" , xfs@oss.sgi.com On Thu, Dec 02, 2010 at 03:14:28PM +0100, Spelic wrote: > On 12/02/2010 03:11 PM, Christoph Hellwig wrote: > >I'm pretty sure you have CONFIG_DEBUG_BLOCK_EXT_DEVT enabled. This > >option must never be enabled, as it causes block devices to be > >randomly renumered. Together with the ramdisk driver overloading > >the BLKFLSBUF ioctl to discard all data it guarantees you to get > >data loss like yours. > > Nope... > > # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set Hmm, I suspect dm-linear's dumb forwarding of ioctls has the same effect.