From: Luis Henriques <lhenriques@suse.de>
To: Amir Goldstein <amir73il@gmail.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Nicolas Boichat <drinkcat@chromium.org>,
Olga Kornievskaia <aglo@umich.edu>, Petr Vorel <pvorel@suse.cz>,
Steve French <sfrench@samba.org>,
Trond Myklebust <trondmy@hammerspace.com>,
Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
kernel test robot <oliver.sang@intel.com>
Subject: Re: [PATCH v12] vfs: fix copy_file_range regression in cross-fs copies
Date: Fri, 2 Jul 2021 14:02:08 +0100 [thread overview]
Message-ID: <YN8OUJvdRXAuNXSk@suse.de> (raw)
In-Reply-To: <CAOQ4uxhQciJ=r5E2yvM2zafhnBO4nZNVzUfEU9-tj9SAKAYwGg@mail.gmail.com>
On Fri, Jul 02, 2021 at 02:12:29PM +0300, Amir Goldstein wrote:
<snip>
> I guess there was miscommunication
>
> As Olga wrote, you have to place this short-circuit in
> nfs4_copy_file_range() if you remove it from here.
> It is NOT SAFE to pass zero length to nfs4_copy_file_range().
>
> I apologize if you inferred from my response that you don't need to
> do that.
Yeah, I totally misread your email. But yeah I understand the issue and
I'll take a look into that. Although this will need to go back to my TODO
pile for next week.
> My intention was, not knowing if and when your patch will be picked up,
> (a volunteer to pick it pick never showed up...)
Right, and this brings the question that this has been dragging already
for a while now. And I feel like I'm approaching my last attempt before
giving up. If no one is picking this patch there's no point continue
wasting more time with it (mine and all the other people helping with
reviews and testing).
Anyway... I'll try to get back to this during next week.
Cheers,
--
Luís
> I think that nfs client developers should make sure that the zero length
> check is added to nfs code as fail safety, because the semantics
> of the vfs method and the NFS protocol command do not match.
>
> Thanks,
> Amir.
next prev parent reply other threads:[~2021-07-02 13:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-02 9:00 [PATCH v12] vfs: fix copy_file_range regression in cross-fs copies Luis Henriques
2021-07-02 11:12 ` Amir Goldstein
2021-07-02 13:02 ` Luis Henriques [this message]
2021-07-06 8:58 ` [vfs] cfc6d02606: ltp.copy_file_range01.fail kernel test robot
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=YN8OUJvdRXAuNXSk@suse.de \
--to=lhenriques@suse.de \
--cc=aglo@umich.edu \
--cc=amir73il@gmail.com \
--cc=drinkcat@chromium.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
--cc=oliver.sang@intel.com \
--cc=pvorel@suse.cz \
--cc=sfrench@samba.org \
--cc=trondmy@hammerspace.com \
--cc=viro@zeniv.linux.org.uk \
/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