On Thu, 21 Feb 2008 15:58:34 +1100
Neil Brown <[EMAIL PROTECTED]> wrote:

> My question is:  *why* cannot rpc_shutdown_client complete until all
> active rpc_tasks complete?  The use of reference counting ensure that
> once they do all complete, the client will be finally released and any
> relevant modules will also be released.
> 
> Is there really any need to wait for completion?
> 

I can't speak for all uses of rpc_shutdown_client, but the fix I sent
up recently for the use after free when taking down lockd depends on
this. If we change the semantics of rpc_shutdown_client this way then
we'll need to fix that in some other way. I need to know that when I'm
taking down lockd that all of the grant callbacks in the RPC queue are
completely dead.

-- 
Jeff Layton <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to