From: Neil Brown Subject: Re: [PATCH 0/5] Intro: convert lockd to kthread and fix use-after-free (try #7) Date: Fri, 11 Jan 2008 12:37:24 +1100 Message-ID: <18310.51284.272147.137400@notabene.brown> References: <1199988096-19700-1-git-send-email-jlayton@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@linux-foundation.org, linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org To: Jeff Layton Return-path: Received: from cantor2.suse.de ([195.135.220.15]:45464 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754219AbYAKBhc (ORCPT ); Thu, 10 Jan 2008 20:37:32 -0500 In-Reply-To: message from Jeff Layton on Thursday January 10 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thursday January 10, jlayton@redhat.com wrote: > This is the seventh patchset to fix the use-after-free problem in lockd .... This patch set looks good now. I'm happy to give it a Reviewed-by: NeilBrown Two remaining issues that I would like to see address, but don't necessarily need to be part of this set, are: 1/ When the last nfsd thread dies, lockd should drop all locks, even if there are active nfs mounts. One approach might be: export nlmsvc_invalidate_all call it from nfsd_last_thread worry about how to change grace_period_expire. 2/ get rid of svc_wake_up and ->b_daemon Maybe change b_daemon to b_rqstp and just call wake_up(&block->b_rqstp->rq_wait) Thanks, NeilBrown