public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] cloner: add support for clone_file_range for cifs
@ 2018-09-11  5:28 Ronnie Sahlberg
  2018-09-11  5:28 ` [PATCH] " Ronnie Sahlberg
  0 siblings, 1 reply; 4+ messages in thread
From: Ronnie Sahlberg @ 2018-09-11  5:28 UTC (permalink / raw)
  To: fstests

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-11 12:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-11  5:28 [PATCH 0/1] cloner: add support for clone_file_range for cifs Ronnie Sahlberg
2018-09-11  5:28 ` [PATCH] " Ronnie Sahlberg
2018-09-11  7:02   ` Christoph Hellwig
2018-09-11  7:26     ` ronnie sahlberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox