Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757227Ab0LIUOV (ORCPT ); Thu, 9 Dec 2010 15:14:21 -0500 Received: from thunk.org ([69.25.196.29]:59255 "EHLO thunker.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757065Ab0LIUOT (ORCPT ); Thu, 9 Dec 2010 15:14:19 -0500 Date: Thu, 9 Dec 2010 15:13:59 -0500 From: "Ted Ts'o" To: Jon Nelson Cc: Mike Snitzer , Chris Mason , Matt , Milan Broz , Andi Kleen , linux-btrfs , dm-devel , Linux Kernel , htd , htejun@gmail.com, linux-ext4@vger.kernel.org Subject: Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective) Message-ID: <20101209201359.GG2921@thunk.org> Mail-Followup-To: Ted Ts'o , Jon Nelson , Mike Snitzer , Chris Mason , Matt , Milan Broz , Andi Kleen , linux-btrfs , dm-devel , Linux Kernel , htd , htejun@gmail.com, linux-ext4@vger.kernel.org References: <20101204193828.GB13871@redhat.com> <20101207142145.GA27861@think> <20101207182243.GB21112@redhat.com> <20101207193514.GA2921@thunk.org> <20101209180111.GF2921@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on thunker.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1346 Lines: 30 On Thu, Dec 09, 2010 at 12:10:58PM -0600, Jon Nelson wrote: > > You should be OK, there. Are you using encryption or no? > I had difficulty replicating the issue without encryption. Yes, I'm using encryption. LUKS with aes-xts-plain-sha256, and then LVM on top of LUKS. > > If you can point out how to query pgsql_tmp (I'm using a completely > > default postgres install), that would be helpful, but I don't think it > > would be going anywhere else. > > Normally it's /var/lib/pgsql/data/pgsql_tmp (or > /var/lib/postgres/data/pgsql_tmp in your case). By placing > /var/lib/{postgresql,pgsql}/data on the LUKS + ext4 volume, on both > openSUSE 11.3 and Kubuntu, I was able to replicate the problem easily, > in VirtualBox. I can give qemu a try. In both cases I was using a > 2.6.37x kernel. Ah, I'm not using virtualization. I'm running on a X410 laptop, on raw hardware. Perhaps virtualization slows things down enough that it triggers? Or maybe you're running with a more constrained memory than I? How much memory do you have configured in your VM? - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/