From: Ronnie Sahlberg <lsahlber@redhat.com>
To: fstests@vger.kernel.org
Subject: [PATCH 0/1] cloner: add support for clone_file_range for cifs
Date: Tue, 11 Sep 2018 15:28:05 +1000 [thread overview]
Message-ID: <20180911052806.1302-1-lsahlber@redhat.com> (raw)
This is a trivial patch that adds support for copy_file_range for cifs.
This uses the copy_file_range interface which cifs.ko supports.
Note that cloner.c uses an ioctl() for copying an entire file. This is
an older interface from before cifs.ko added proper copy_file_range
support but both interfaces eventually end up in the same codepaths
and use the same SMB2 commands on the wire.
Could argue that we could/should use copy_file_range() for the whole file
case as well but there is no harm leaving it as-is using the older interface.
next reply other threads:[~2018-09-11 10:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-11 5:28 Ronnie Sahlberg [this message]
2018-09-11 5:28 ` [PATCH] cloner: add support for clone_file_range for cifs Ronnie Sahlberg
2018-09-11 7:02 ` Christoph Hellwig
2018-09-11 7:26 ` ronnie sahlberg
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=20180911052806.1302-1-lsahlber@redhat.com \
--to=lsahlber@redhat.com \
--cc=fstests@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