From: "J. Bruce Fields" Subject: Re: [PATCH] kNFSdv4 - 1 of 10 - idmap bugfixes and cleanup Date: Thu, 8 Apr 2004 18:05:55 -0400 Sender: nfs-admin@lists.sourceforge.net Message-ID: <20040408220555.GB18744@fieldses.org> References: <20040408111135.5397.patches@notabene> <20040407233608.6414089a.akpm@osdl.org> <20040408192803.GB17909@fieldses.org> <20040408125528.5362c910.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: neilb@cse.unsw.edu.au, nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1BBheu-0005sa-Li for nfs@lists.sourceforge.net; Thu, 08 Apr 2004 15:06:04 -0700 Received: from dsl093-002-214.det1.dsl.speakeasy.net ([66.93.2.214] helo=pumpkin.fieldses.org ident=Debian-exim) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:RC4-SHA:128) (Exim 4.30) id 1BBheu-00031y-Au for nfs@lists.sourceforge.net; Thu, 08 Apr 2004 15:06:04 -0700 To: Andrew Morton In-Reply-To: <20040408125528.5362c910.akpm@osdl.org> Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: On Thu, Apr 08, 2004 at 12:55:28PM -0700, Andrew Morton wrote: > "J. Bruce Fields" wrote: > > After the > > > > set_task_state(current, TASK_INTERRUPTIBLE); > > > > either put_mdr, or idmap_wait (which always calls put_mdr) is called, > > and put_mdr does a wake_up. So I believe this is correct, though I do > > wish it was clearer. > > wake_up() doesn't alter the caller's task->state. The caller is on the waitqueue in this case. But now that I look at it more carefully, there's more serious problems; it'll take another day for me to get this right, sorry; drop the idmap patches or not, and that particular code is in almost equally bad shape.... --b. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs