|
|
Subscribe / Log in / New account

How useful should copy_file_range() be?

How useful should copy_file_range() be?

Posted Feb 18, 2021 23:49 UTC (Thu) by JoeBuck (subscriber, #2330)
In reply to: How useful should copy_file_range() be? by drinkcat
Parent article: How useful should copy_file_range() be?

Perhaps I'm missing something, but I thought that for the generated files, the call always transfers 0 bytes, and the Rust patch immediately falls back when it sees this. So how is seeking an issue?


to post comments

How useful should copy_file_range() be?

Posted Feb 19, 2021 0:17 UTC (Fri) by drinkcat (subscriber, #106553) [Link]

Yeah... except for sysfs files that report a size of 4096 bytes, copy_file_range would appear to work on these.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds