From: "J. Bruce Fields" <bfields@fieldses.org>
To: Olga Kornievskaia <aglo@umich.edu>
Cc: Trond Myklebust <trondmy@hammerspace.com>,
"linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: handling ERR_SERVERFAULT on RESTOREFH
Date: Wed, 29 Apr 2020 12:59:01 -0400 [thread overview]
Message-ID: <20200429165901.GC4799@fieldses.org> (raw)
In-Reply-To: <CAN-5tyE7i3qxv7WyrAZkq2VCFrh1Kw4Q1eonG2Ep_YLFkMiJwQ@mail.gmail.com>
On Wed, Apr 29, 2020 at 12:22:16PM -0400, Olga Kornievskaia wrote:
> On Wed, Apr 29, 2020 at 11:46 AM J. Bruce Fields <bfields@fieldses.org> wrote:
> >
> > On Tue, Apr 28, 2020 at 10:12:29PM -0400, Olga Kornievskaia wrote:
> > > I also believe that client shouldn't be coded to a broken server. But
> > > in some of those cases, the client is not spec compliant, how is that
> > > a server bug? The case of SERVERFAULT of RESTOREFH I'm not sure what
> > > to make of it. I think it's more of a spec failure to address. It
> > > seems that server isn't allowed to fail after executing a
> > > non-idempotent operation but that's a hard requirement. I still think
> > > that client's best set of action is to ignore errors on RESTOREFH.
> >
> > Maybe. But how is a server hitting SERVERFAULT on RESTOREFH, anyway?
> > That's pretty weird.
>
> An example error is ENOMEM. A server is doing operations to lookup the
> filehandle (due to it being some other place) and needs to allocate
> memory. It's possible that resources are currently unavailable.
This is a filehandle that's been previously used in the compound. All
the resource use I can think of here (filehandle storage, xdr reply
buffer space...) is very predictable in this compound. If anything was
to cause trouble I'd expect it to be the GETATTR reply.
--b.
next prev parent reply other threads:[~2020-04-29 16:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 18:14 handling ERR_SERVERFAULT on RESTOREFH Olga Kornievskaia
2020-04-28 18:24 ` Olga Kornievskaia
2020-04-28 18:47 ` Trond Myklebust
2020-04-28 20:40 ` Olga Kornievskaia
2020-04-28 21:32 ` Trond Myklebust
2020-04-28 23:02 ` Olga Kornievskaia
2020-04-28 23:41 ` Trond Myklebust
2020-04-28 23:56 ` Trond Myklebust
2020-04-29 2:12 ` Olga Kornievskaia
2020-04-29 15:46 ` J. Bruce Fields
2020-04-29 16:22 ` Olga Kornievskaia
2020-04-29 16:59 ` J. Bruce Fields [this message]
2020-05-01 2:05 ` Tom Talpey
2020-05-01 4:08 ` Trond Myklebust
2020-04-29 2:06 ` Olga Kornievskaia
2020-04-29 14:50 ` Tom Talpey
2020-04-29 15:49 ` Trond Myklebust
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=20200429165901.GC4799@fieldses.org \
--to=bfields@fieldses.org \
--cc=aglo@umich.edu \
--cc=linux-nfs@vger.kernel.org \
--cc=trondmy@hammerspace.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