Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758622AbYGRNAm (ORCPT ); Fri, 18 Jul 2008 09:00:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755976AbYGRNAR (ORCPT ); Fri, 18 Jul 2008 09:00:17 -0400 Received: from yw-out-2324.google.com ([74.125.46.31]:18512 "EHLO yw-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755568AbYGRNAQ (ORCPT ); Fri, 18 Jul 2008 09:00:16 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=pH0qEQ+XQ5Y4B7GZqmyZq2UKpeNsngF27Vr73ciF6+MB5aiLnTRWMGcfe0VZ2CimnA jTeC+TvPYKqi0reaMPfn/v5IQZGum1RInKCmH67VYup+1UqnitSN0XHOnrmOUTLu3Egr e0kkh6LUAlXHpTxBCHLf+ZaCUHnklV9ngMrUU= Message-ID: Date: Fri, 18 Jul 2008 14:00:13 +0100 From: "Duane Griffin" To: "Vegard Nossum" Subject: Re: latest -git: A peculiar case of a stuck process (ext3/sched-related?) Cc: linux-ext4@vger.kernel.org, sct@redhat.com, akpm@linux-foundation.org, adilger@sun.com, "Ingo Molnar" , "Peter Zijlstra" , "Linux Kernel Mailing List" In-Reply-To: <19f34abd0807180317g40a218a2p2bb2857c6f5aa659@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <19f34abd0807180245l2a633644n1a8d91cb3587d9e4@mail.gmail.com> <19f34abd0807180317g40a218a2p2bb2857c6f5aa659@mail.gmail.com> X-Google-Sender-Auth: 1734652ddb14c4b7 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1457 Lines: 37 2008/7/18 Vegard Nossum : > And the ext3_find_entry() corresponds to this line: > > for (; de < top; de = ext3_next_entry(de)) /* <--- HERE! */ > if (ext3_match (namelen, name, de)) { > if (!ext3_check_dir_entry("ext3_find_entry", > dir, de, bh, > (block< +((char *)de - bh->b_data))) { > brelse (bh); > *err = ERR_BAD_DX_DIR; > goto errout; > } > *res_dir = de; > dx_release (frames); > return bh; > } > > Is it possible that this loop can get stuck with a corrupt filesystem image? It certainly is. This is the same problem as the first case reported at http://bugzilla.kernel.org/show_bug.cgi?id=10882. There is a patch in -mm for it already (2fde9f7a0faabe821b31ccd982d482c21f7c503f), posted here: http://marc.info/?l=linux-kernel&m=121486328013470. Hopefully that should fix the problem for you. Cheers, Duane. -- "I never could learn to drink that blood and call it wine" - Bob Dylan -- 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/