public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* allowing client to change callback path
@ 2010-03-10  0:28 J. Bruce Fields
  2010-03-10  0:28 ` [PATCH 01/11] sunrpc: fix leak on error on socket xprt setup J. Bruce Fields
  0 siblings, 1 reply; 16+ messages in thread
From: J. Bruce Fields @ 2010-03-10  0:28 UTC (permalink / raw)
  To: linux-nfs

The 4.0 spec allows clients to change the callback connection parameters
with an appropriate SETCLIENTID/SETCLIENTID_CONFIRM, but we've never
implemented that.  Here's an attempt.

The real goal is to later use this to implement BIND_CONN_TO_SESSION.
Since that's the only way I see for a client to recover the backchannel
after a tcp connection without losing the session state, I figure 4.1
clients may be more likely to need this than 4.0 clients?

The first 7 patches are probably ready to go.  The first two are to
client-side code.  Trond, if you could ACK them, I'll queue them up in
the server tree.  (Actually, the first could go now if it looks right.)

The rest of the patches are closer to an RFC, and are barely tested.  I
avoid sleeping in the cb_recall callback by deferring the real work to a
workqueue, and then use the same trick to requeue a callback after the
callback client changes.

--b.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-04-08 16:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  0:28 allowing client to change callback path J. Bruce Fields
2010-03-10  0:28 ` [PATCH 01/11] sunrpc: fix leak on error on socket xprt setup J. Bruce Fields
2010-03-10  0:28   ` [PATCH 02/11] sunrpc: take reference to bc_xprt in sunrpc layer J. Bruce Fields
2010-03-10  0:28     ` [PATCH 03/11] nfsd4: don't store cb_xprt in client J. Bruce Fields
2010-03-10  0:28       ` [PATCH 04/11] nfsd4: preallocate nfs4_rpc_args J. Bruce Fields
2010-03-10  0:28         ` [PATCH 05/11] nfsd4: shutdown callbacks on expiry J. Bruce Fields
2010-03-10  0:28           ` [PATCH 06/11] nfsd4: remove dprintk J. Bruce Fields
2010-03-10  0:28             ` [PATCH 07/11] nfsd4: remove probe task's reference on client J. Bruce Fields
2010-03-10  0:28               ` [PATCH 08/11] nfsd4: don't sleep in lease-break callback J. Bruce Fields
2010-03-10  0:28                 ` [PATCH 09/11] nfsd: cl_count is unused J. Bruce Fields
2010-03-10  0:28                   ` [PATCH 10/11] nfsd4: rearrange cb data structures J. Bruce Fields
2010-03-10  0:28                     ` [PATCH 11/11] nfsd4: allow 4.0 clients to change callback path J. Bruce Fields
2010-03-10  1:03     ` [PATCH 02/11] sunrpc: take reference to bc_xprt in sunrpc layer Trond Myklebust
     [not found]       ` <1268182980.9419.40.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2010-03-10 19:05         ` J. Bruce Fields
2010-03-18 15:08           ` J. Bruce Fields
2010-04-08 16:08             ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox