Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422850AbWKPJut (ORCPT ); Thu, 16 Nov 2006 04:50:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422848AbWKPJut (ORCPT ); Thu, 16 Nov 2006 04:50:49 -0500 Received: from smtp.osdl.org ([65.172.181.4]:43683 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1422805AbWKPJus (ORCPT ); Thu, 16 Nov 2006 04:50:48 -0500 Date: Thu, 16 Nov 2006 01:49:20 -0800 From: Andrew Morton To: Alex Tomas , cmm@us.ibm.com, Hugh Dickins , Mel Gorman , "Martin J. Bligh" , linux-kernel@vger.kernel.org, "linux-ext4@vger.kernel.org" Subject: Re: Boot failure with ext2 and initrds Message-Id: <20061116014920.2a0f4d46.akpm@osdl.org> In-Reply-To: <20061116014809.914a5425.akpm@osdl.org> References: <20061114014125.dd315fff.akpm@osdl.org> <20061114184919.GA16020@skynet.ie> <20061114113120.d4c22b02.akpm@osdl.org> <20061115214534.72e6f2e8.akpm@osdl.org> <455C0B6F.7000201@us.ibm.com> <20061115232228.afaf42f2.akpm@osdl.org> <1163666960.4310.40.camel@localhost.localdomain> <20061116011351.1401a00f.akpm@osdl.org> <20061116014809.914a5425.akpm@osdl.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 25 On Thu, 16 Nov 2006 01:48:09 -0800 Andrew Morton wrote: > On Thu, 16 Nov 2006 12:37:17 +0300 > Alex Tomas wrote: > > > >>>>> Andrew Morton (AM) writes: > > > > AM> What lock protects the fields in struct ext[234]_reserve_window from being > > AM> concurrently modified by two CPUs? None, it seems. Ditto > > AM> ext[234]_reserve_window_node. i_mutex will cover it for write(), but not > > AM> for pageout over a file hole. If we end up with a zero- or negative-sized > > AM> window then odd things might happen. > > > > truncate_mutex? > > > > yes. hmm. by which I mean "ext2 doesn't have a truncate_mutex". - 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/