From: Jeff Layton Subject: Re: [PATCH 097/100] NLM: have nlm_shutdown_hosts kill off all NLM RPC tasks Date: Mon, 28 Jan 2008 10:11:03 -0500 Message-ID: <20080128101103.19d34d8b@tleilax.poochiereds.net> References: <20080125231521.GG25141@fieldses.org> <1201303040-7779-84-git-send-email-bfields@citi.umich.edu> <1201303040-7779-85-git-send-email-bfields@citi.umich.edu> <1201303040-7779-86-git-send-email-bfields@citi.umich.edu> <1201303040-7779-87-git-send-email-bfields@citi.umich.edu> <1201303040-7779-88-git-send-email-bfields@citi.umich.edu> <1201303040-7779-89-git-send-email-bfields@citi.umich.edu> <1201303040-7779-90-git-send-email-bfields@citi.umich.edu> <1201303040-7779-91-git-send-email-bfields@citi.umich.edu> <1201303040-7779-92-git-send-email-bfields@citi.umich.edu> <1201303040-7779-93-git-send-email-bfields@citi.umich.edu> <1201303040-7779-94-git-send-email-bfields@citi.umich.edu> <1201303040-7779-95-git-send-email-bfields@citi.umich.edu> <1201303040-7779-96-git-send-email-bfields@citi.umich.edu> <1201303040-7779-97-git-send-email-bfields@citi.umich.edu> <20080125185548.5363f046@tleilax.poochiereds.net> <1201310387.4150.21.camel@heimdal.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: "J. Bruce Fields" , linux-nfs@vger.kernel.org To: Trond Myklebust Return-path: Received: from mx1.redhat.com ([66.187.233.31]:46379 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751730AbYA1PLR (ORCPT ); Mon, 28 Jan 2008 10:11:17 -0500 In-Reply-To: <1201310387.4150.21.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Fri, 25 Jan 2008 20:19:47 -0500 Trond Myklebust wrote: > > On Fri, 2008-01-25 at 18:55 -0500, Jeff Layton wrote: > > There's also another problem -- it's possible for host->h_rpcclnt > > to be NULL, and that has special meaning for rpc_killall_tasks. For > > now, I suggest that we drop this patch until I have a chance to > > work on it further. > > We really ought to create _separate_ lists for the client and server > uses of struct nlm_host. > > Trond > Yep. lockd is in real need of further overhaul here. We're invalidating locks at lockd shutdown, but we really ought to be doing this when the last nfsd goes down. All of that is pretty much orthogonal to this problem, I think. -- Jeff Layton