public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Post <adp@prgmr.com>
To: linux-nfs <linux-nfs@vger.kernel.org>
Subject: Re: User process NFS write hang in wait_on_commit with kworker
Date: Wed, 3 Jul 2019 15:32:21 -0600	[thread overview]
Message-ID: <20190703213221.GB4158@turtle.email> (raw)
In-Reply-To: <35045385-2C77-4BA0-8641-2AE4E73E04A4@redhat.com>

On Tue, Jul 02, 2019 at 05:55:10AM -0400, Benjamin Coddington wrote:
> > As far as I understand it, for a particular xid, there should be a
> > call and a reply.  The approach I took then was to pull out these
> > fields from my capture and ignore RPC calls where both are present
> > in my capture.  It seems this is simplistic, as the number of RPC
> > calls I have without an attendant reply isn't lining up with my
> > incident window.
> 
> Does your capture report dropped packets?  If so, maybe you need to increase
> the capture buffer.
> 

I'm not certain, but I do have a capture on both the NFS server and
the NFS client--comparing them would show me if I was under most
circumstances.  Good catch.

> > In one example, I have a series of READ calls which cease
> > generating RPC reply messages as the offset for the file continues
> > to increases.  After a couple/few dozen messages, the RPC replies
> > continue as they were.  Is there a normal or routine explanation
> > for this?
> >
> > RFC 5531 and the NetworkTracing page on wiki.linux-nfs.org have
> > been quite helpful bringing me up to speed.  If any of you have
> > advice or guidance or can clarify my understanding of how the
> > call/reply RPC mechanism works I appreciate it.
> 
> Seems like you understand it.  Do you have specific questions?
> 

Is it true that for each RPC call there is an RPC reply with the
same xid?  Is it a-priori an error if an otherwise correct RPC
call is not eventually paired with an RPC reply?

Thank you,

-A
-- 
Alan Post | Xen VPS hosting for the technically adept
PO Box 61688 | Sunnyvale, CA 94088-1681 | https://prgmr.com/
email: adp@prgmr.com

  reply	other threads:[~2019-07-03 21:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18  0:06 User process NFS write hang in wait_on_commit with kworker Alan Post
2019-06-18 15:29 ` Benjamin Coddington
2019-06-19  0:07   ` Alan Post
2019-06-19 12:38     ` Benjamin Coddington
2019-06-21 20:47       ` Alan Post
2019-06-28 18:33         ` Alan Post
2019-07-02  9:55           ` Benjamin Coddington
2019-07-03 21:32             ` Alan Post [this message]
2019-07-05 23:53               ` Tom Talpey

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=20190703213221.GB4158@turtle.email \
    --to=adp@prgmr.com \
    --cc=linux-nfs@vger.kernel.org \
    /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