From: Thomas Gleixner Subject: Re: [PATCH] fs: Work around NFS wreckage Date: Thu, 13 Jan 2011 17:41:58 +0100 (CET) Message-ID: References: <8952.1294927845@jrobl> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Nick Piggin , LKML , Linus Torvalds , linux-fsdevel@vger.kernel.org, u.kleine-koenig@pengutronix.de, "Ramirez Luna, Omar" To: "J. R. Okajima" Return-path: In-Reply-To: <8952.1294927845@jrobl> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, 13 Jan 2011, J. R. Okajima wrote: > Thomas Gleixner: > > The dcache scalability work broke NFS root filesystems. > ::: > > Check for parent equal dentry and skip the nested lock to avoid the > > deadlock. I'm sure this is the wrong fix, but at least it "works" :) > > With this patch, can you unmount it cleanly? > It skips incrementing d_count for both dentries. > Do we need at least one? Not sure, as we should not end up there at all I guess.