Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752155Ab2FEPHq (ORCPT ); Tue, 5 Jun 2012 11:07:46 -0400 Received: from mail.parknet.co.jp ([210.171.160.6]:58244 "EHLO mail.parknet.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488Ab2FEPHo (ORCPT ); Tue, 5 Jun 2012 11:07:44 -0400 From: OGAWA Hirofumi To: Konstantin Khlebnikov Cc: Ondrej Zary , Hugh Dickins , Kernel development list , Dave Jones , Hans de Bruin , Linux NFS mailing list , Andrew Morton , Toralf =?iso-8859-1?Q?F=F6rster?= , richard -rw- weinberger Subject: Re: [bisected commit 0fc9d10] NFS-server corruption with 3.4 References: <201206051116.17711.linux@rainbow-software.org> <4FCE0A83.4050502@openvz.org> <201206051620.47925.linux@rainbow-software.org> <4FCE1D17.1080904@openvz.org> Date: Wed, 06 Jun 2012 00:07:36 +0900 In-Reply-To: <4FCE1D17.1080904@openvz.org> (Konstantin Khlebnikov's message of "Tue, 05 Jun 2012 18:52:07 +0400") Message-ID: <87zk8h23wn.fsf@devron.myhome.or.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 20 Konstantin Khlebnikov writes: > Hmm, very interesting! > Please try this patch, it must fix the problem and print some numbers to debug. > I think the bug is in radix_tree_for_each_contig(). radix_tree_next_slot() returns NULL if the slot was NULL (i.e. there is hole). But, slot == NULL is not meaning to stop iterate here. Actually, if slot is NULL, it gets next chunk. Bang. -- OGAWA Hirofumi -- 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/