From: "J. Bruce Fields" <bfields@fieldses.org>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Benny Halevy <bhalevy@panasas.com>,
linux-nfs@vger.kernel.org, pnfs@linux-nfs.org,
Rahul Iyer <iyer@netapp.com>, Mike Sager <sager@netapp.com>,
Marc Eshel <eshel@almaden.ibm.com>,
Ricardo Labiaga <Ricardo.Labiaga@netapp.com>,
Andy Adamson <andros@netapp.com>,
Alexandros Batsakis <batsakis@netapp.com>,
Trond Myklebust <trond@netapp.com>
Subject: Re: [PATCH RFC 02/10] nfsd41: sunrpc: Added rpc server-side backchannel handling
Date: Mon, 24 Aug 2009 19:51:33 -0400 [thread overview]
Message-ID: <20090824235133.GG8532@fieldses.org> (raw)
In-Reply-To: <1251157347.6325.364.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
On Mon, Aug 24, 2009 at 07:42:27PM -0400, Trond Myklebust wrote:
> On Mon, 2009-08-24 at 19:34 -0400, J. Bruce Fields wrote:
> > On Thu, Aug 20, 2009 at 03:34:23AM +0300, Benny Halevy wrote:
> > > From: Rahul Iyer <iyer@netapp.com>
> > >
> > > Signed-off-by: Rahul Iyer <iyer@netapp.com>
> > > Signed-off-by: Mike Sager <sager@netapp.com>
> > > Signed-off-by: Marc Eshel <eshel@almaden.ibm.com>
> > > Signed-off-by: Benny Halevy <bhalevy@panasas.com>
> > > Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
> >
> > This patch needs an ACK from Trond.
> >
> > >
> > > When the call direction is a reply, copy the xid and call direction into the
> > > req->rq_private_buf.head[0].iov_base otherwise rpc_verify_header returns
> > > rpc_garbage.
> >
> > Looks mostly OK, though blocking the client rpciod on the
> > bc_send_request method may be a problem--rpciod normally tries not to
> > sleep, and the other send_request methods look like they avoid it.
>
> Agreed. Blocking on sending is unacceptable inside rpciod. Please either
> use non-blocking I/O, or use a different thread context for this.
We did some work to avoid having to spawn a thread on the server for
every recall, and I'd still prefer to avoid that.
But I'm not sure what's required to make the server send routine
non-blocking.
--b.
next prev parent reply other threads:[~2009-08-24 23:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4A8C9992.2000505@panasas.com>
2009-08-20 0:34 ` [PATCH RFC 01/10] nfsd41: sunrpc: svc_tcp_recv_record() Benny Halevy
2009-08-24 22:52 ` J. Bruce Fields
2009-08-20 0:34 ` [PATCH RFC 02/10] nfsd41: sunrpc: Added rpc server-side backchannel handling Benny Halevy
2009-08-24 23:34 ` J. Bruce Fields
2009-08-24 23:42 ` Trond Myklebust
[not found] ` <1251157347.6325.364.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-08-24 23:50 ` Batsakis, Alexandros
2009-08-24 23:51 ` J. Bruce Fields [this message]
2009-08-25 0:05 ` [PATCH RFC 02/10] nfsd41: sunrpc: Added rpc server-sidebackchannel handling Labiaga, Ricardo
2009-08-25 8:40 ` [PATCH RFC 02/10] nfsd41: sunrpc: Added rpc server-side backchannel handling Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 03/10] nfsd41: sunrpc: move struct rpc_buffer def into a common header file Benny Halevy
2009-08-24 23:35 ` J. Bruce Fields
2009-08-25 8:43 ` Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 04/10] nfsd41: Backchannel: callback infrastructure Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 05/10] nfsd41: Backchannel: Add sequence arguments to callback RPC arguments Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 06/10] nfsd41: Backchannel: Server backchannel RPC wait queue Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 07/10] nfsd41: Backchannel: Setup sequence information Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 08/10] nfsd41: Backchannel: cb_sequence callback Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 09/10] nfsd41: Backchannel: Implement cb_recall over NFSv4.1 Benny Halevy
2009-08-20 0:34 ` [PATCH RFC 10/10] nfsd41: Refactor create_client() Benny Halevy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090824235133.GG8532@fieldses.org \
--to=bfields@fieldses.org \
--cc=Ricardo.Labiaga@netapp.com \
--cc=Trond.Myklebust@netapp.com \
--cc=andros@netapp.com \
--cc=batsakis@netapp.com \
--cc=bhalevy@panasas.com \
--cc=eshel@almaden.ibm.com \
--cc=iyer@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=pnfs@linux-nfs.org \
--cc=sager@netapp.com \
--cc=trond@netapp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox