public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Alberto Gonzalez Iniesta <alberto.gonzalez@udima.es>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Bruce Fields <bfields@fieldses.org>,
	Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	Miguel Rodriguez <miguel.rodriguez@udima.es>,
	Isaac Marco Blancas <isaac.marco@udima.es>
Subject: Re: Random IO errors on nfs clients running linux > 4.20
Date: Mon, 26 Oct 2020 16:26:57 +0100	[thread overview]
Message-ID: <20201026152657.GP74269@var.inittab.org> (raw)
In-Reply-To: <A9A0D0AF-B483-46DD-B3C2-E6E83EB8A05F@oracle.com>

On Mon, Oct 26, 2020 at 11:06:24AM -0400, Chuck Lever wrote:
> 
> 
> > On Oct 26, 2020, at 11:02 AM, Bruce Fields <bfields@fieldses.org> wrote:
> > 
> > On Mon, Oct 26, 2020 at 10:46:05AM -0400, Chuck Lever wrote:
> >> 
> >> 
> >>> On Oct 26, 2020, at 10:43 AM, Alberto Gonzalez Iniesta <alberto.gonzalez@udima.es> wrote:
> >>> 
> >>> On Mon, Oct 26, 2020 at 09:58:17AM -0400, Chuck Lever wrote:
> >>>>>> So all I notice from this one is the readdir EIO came from call_decode.
> >>>>>> I suspect that means it failed in the xdr decoding.  Looks like xdr
> >>>>>> decoding of the actual directory data (which is the complicated part) is
> >>>>>> done later, so this means it failed decoding the header or verifier,
> >>>>>> which is a little odd:
> >>>>>> 
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016276] RPC:  3284 call_decode result -5
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016281] nfs41_sequence_process: Error 1 free the slot 
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016286] RPC:       wake_up_first(00000000d3f50f4d "ForeChannel Slot table")
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016288] nfs4_free_slot: slotid 0 highest_used_slotid 4294967295
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016290] RPC:  3284 return 0, status -5
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016291] RPC:  3284 release task
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016295] RPC:       freeing buffer of size 4144 at 00000000a3649daf
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016298] RPC:  3284 release request 0000000079df89b2
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016300] RPC:       wake_up_first(00000000c5ee49ee "xprt_backlog")
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016302] RPC:       rpc_release_client(00000000b930c343)
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016304] RPC:  3284 freeing task
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016309] _nfs4_proc_readdir: returns -5
> >>>>>>> Sep  8 16:03:23 portatil264 kernel: [15033.016318] NFS: readdir(departamentos/innovacion) returns -5
> >>>>> 
> >>>>> Hi, Bruce et al.
> >>>>> 
> >>>>> Is there anything we can do to help debugging/fixing this? It's still
> >>>>> biting our users with a +4.20.x kernel.
> >>>> 
> >>>> Alberto, can you share a snippet of a raw network capture that shows
> >>>> the READDIR Reply that fails to decode?
> >>> 
> >>> Hi, Chuck.
> >>> 
> >>> Thanks for your reply. We're using "sec=krb5p", which makes the network
> >>> capture useless :-(
> >> 
> >> You can plug keytabs into Wireshark to enable it to decrypt the traffic.
> > 
> > Just skimming that range of history, there's some changes to the
> > handling of gss sequence numbers, I wonder if there's a chance he could
> > be hitting that?  You had a workload that would lead to calls dropping
> > out of the sequence number window, didn't you, Chuck?  Is there a quick
> > way to check whether that's happening?
> 
> The server is supposed to drop the connection when that happens, though
> I'm not sure 4.20's NFSD was perfect in that regard. Connection loss in
> itself wouldn't result in EIO.

In case this is relevant, server is running 3.16.0. Clients (with
issues) +4.20.

-- 
Alberto González Iniesta             | Universidad a Distancia
alberto.gonzalez@udima.es            | de Madrid

  reply	other threads:[~2020-10-26 15:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-29 17:15 Random IO errors on nfs clients running linux > 4.20 Alberto Gonzalez Iniesta
2020-04-30  6:08 ` Alberto Gonzalez Iniesta
2020-04-30 17:32 ` J. Bruce Fields
2020-09-09  9:29   ` Alberto Gonzalez Iniesta
2020-09-09 13:47     ` J. Bruce Fields
2020-10-26 13:42       ` Alberto Gonzalez Iniesta
2020-10-26 13:58         ` Chuck Lever
2020-10-26 14:43           ` Alberto Gonzalez Iniesta
2020-10-26 14:46             ` Chuck Lever
2020-10-26 14:54               ` Alberto Gonzalez Iniesta
2020-10-26 15:02               ` Bruce Fields
2020-10-26 15:06                 ` Chuck Lever
2020-10-26 15:26                   ` Alberto Gonzalez Iniesta [this message]
2020-10-26 17:23                     ` Chuck Lever
2020-10-26 14:14         ` J. Bruce Fields
2020-10-26 14:54           ` Alberto Gonzalez Iniesta

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=20201026152657.GP74269@var.inittab.org \
    --to=alberto.gonzalez@udima.es \
    --cc=bfields@fieldses.org \
    --cc=chuck.lever@oracle.com \
    --cc=isaac.marco@udima.es \
    --cc=linux-nfs@vger.kernel.org \
    --cc=miguel.rodriguez@udima.es \
    /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