All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Holey splice! copy_file_range() with holes
@ 2018-05-03 15:26 Goldwyn Rodrigues
  2018-05-03 15:26 ` [PATCH 1/3] Perform splice in copy_file_range if in/out SB are not same Goldwyn Rodrigues
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Goldwyn Rodrigues @ 2018-05-03 15:26 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: hch, smfrench, linux-unionfs, Anna.Schumaker, darrick.wong

If copy_file_range performs a copy using splice, it converts holes
to zeros. This effort primarily changes this behavior to create
holes when it is possible. I am not sure if we should put it under
a flag, but I think this should be the default behavior as opposed
to converting holes to allocated zeros. We can use a flag to instruct
copy_file_range() to convert holes to allocated zeros. Let me know..

We should be able to splice files if they do not belong the same
super_block.

overlay copy_up can benefit from this.

This could make it ready for coreutils/cp to use copy_file_range(),
primarily to deal with --sparse=WHEN option.

-- 
Goldwyn


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

end of thread, other threads:[~2018-05-08 16:21 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 15:26 [PATCH 0/3] Holey splice! copy_file_range() with holes Goldwyn Rodrigues
2018-05-03 15:26 ` [PATCH 1/3] Perform splice in copy_file_range if in/out SB are not same Goldwyn Rodrigues
2018-05-03 15:26 ` [PATCH 2/3] copy_file_range: splice with holes Goldwyn Rodrigues
2018-05-08  5:11   ` [lkp-robot] [copy_file_range] 9cb0698bda: stress-ng.copy-file.ops_per_sec -97.9% regression kernel test robot
2018-05-03 15:26 ` [PATCH 3/3] ovl: Use splice_with_holes in copy_up Goldwyn Rodrigues
2018-05-03 19:57   ` Amir Goldstein
2018-05-03 22:11     ` Dave Chinner
2018-05-04  1:29       ` Goldwyn Rodrigues
2018-05-05 23:16         ` Dave Chinner
2018-05-07 12:16           ` Christoph Hellwig
2018-05-07 23:16             ` Dave Chinner
2018-05-08  4:02               ` Christoph Hellwig
2018-05-08 10:06                 ` Dave Chinner
2018-05-08 16:11                   ` Goldwyn Rodrigues
2018-05-08 16:24                     ` Christoph Hellwig
2018-05-07 18:50           ` Andreas Dilger
2018-05-04  1:29     ` Goldwyn Rodrigues
2018-05-04  1:31     ` Goldwyn Rodrigues
2018-05-04  6:18       ` Amir Goldstein

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.