From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. R. Okajima" Subject: Re: [PATCH] fs: Work around NFS wreckage Date: Thu, 13 Jan 2011 23:10:45 +0900 Message-ID: <8952.1294927845@jrobl> References: Cc: Nick Piggin , LKML , Linus Torvalds , linux-fsdevel@vger.kernel.org, u.kleine-koenig@pengutronix.de, "Ramirez Luna, Omar" To: Thomas Gleixner Return-path: Received: from mtoichi12.ns.itscom.net ([219.110.2.182]:55228 "EHLO mtoichi12.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756876Ab1AMOLq (ORCPT ); Thu, 13 Jan 2011 09:11:46 -0500 In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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? J. R. Okajima