From: bfields@fieldses.org (J. Bruce Fields)
To: "Mora, Jorge" <Jorge.Mora@netapp.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: Question about NFSv4.2 server-side copy implementation
Date: Fri, 17 Feb 2017 15:02:53 -0500 [thread overview]
Message-ID: <20170217200253.GI10894@fieldses.org> (raw)
In-Reply-To: <BLUPR06MB54767D9B4746E210D176C3AE1580@BLUPR06MB547.namprd06.prod.outlook.com>
On Tue, Feb 14, 2017 at 08:07:48PM +0000, Mora, Jorge wrote:
> I can understand failing with NFS4ERR_INVAL when the source offset is beyond the end of the file,
> but do you think failing with NFS4ERR_INVAL is too strict when the source offset plus the count is beyond the end of the file?
> What is the rationalization for failing on this specific instance?
> Why not return a short copy instead?
> Can the COPY return a count less than what it requested (a short copy)?
>
> As of right now, the implementation on the Linux server adheres to the spec
That's weird, do you have network traces showing that, or is it possible
the EINVAL is happening on the client side?
next prev parent reply other threads:[~2017-02-17 20:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-14 20:07 Question about NFSv4.2 server-side copy implementation Mora, Jorge
2017-02-15 10:36 ` Kinglong Mee
2017-02-15 15:00 ` Trond Myklebust
2017-02-15 15:40 ` Olga Kornievskaia
2017-02-17 20:02 ` J. Bruce Fields [this message]
2017-02-17 21:10 ` Olga Kornievskaia
2017-02-17 21:21 ` J. Bruce Fields
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=20170217200253.GI10894@fieldses.org \
--to=bfields@fieldses.org \
--cc=Jorge.Mora@netapp.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.