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?
Posted Feb 19, 2021 0:17 UTC (Fri)
by drinkcat (subscriber, #106553)
[Link]
How useful should copy_file_range() be?
Yeah... except for sysfs files that report a size of 4096 bytes, copy_file_range would appear to work on these.