From: Frans Pop Subject: Re: [regression] nfs4: 30 second delay during umount of remote fs on system shutdown Date: Fri, 29 Feb 2008 02:03:05 +0100 Message-ID: <200802290203.06241.elendil@planet.nl> References: <200802281829.16343.elendil@planet.nl> <1204235218.7109.13.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org To: Trond Myklebust Return-path: Received: from hpsmtp-eml11.kpnxchange.com ([213.75.38.111]:11189 "EHLO hpsmtp-eml11.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762625AbYB2BDO (ORCPT ); Thu, 28 Feb 2008 20:03:14 -0500 In-Reply-To: <1204235218.7109.13.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thursday 28 February 2008, Trond Myklebust wrote: > On Thu, 2008-02-28 at 18:29 +0100, Frans Pop wrote: > > I have verified that portmap is also not running during S31umountnfs.sh > > with 2.6.24, so apparently there has been a change in the kernel that > > has made umount look for portmap and cause the 30 second delay if it is > > not running. > > You are probably seeing the effect of lockd going down: it always > attempts to unregister from the portmapper (and no, this is _not_ new > behaviour). It is _very much_ new behavior because as soon as I boot (and shut down) with a 2.6.24 kernel the problem completely disappears. Userland is *100% identical* between my tests. > If debian is killing the portmapper while lockd is still up, then that > is a definite debian bug... I have no idea about that. AFAICT lockd is not even running (at least, there's no process named lockd, even when the system is running normally. Isn't lockd an nfs3 thing? I'm using nfs4 here. Cheers, FJP