Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
At the moment, yes.
I expect that we'll relax this restriction as the patch series develops and the ->copy_range() methods correctly implement this case.
Posted May 26, 2013 17:46 UTC (Sun) by heijo (guest, #88363)
But how about adding the ability to "move" to copy_range, to improve the "delete" case and other possibilities?
It would be this set of flags:
1. Leave non-overlapping source untouched (copy)
2. Zero out source
3. Replace source with zeroes or with random data not related to source
4. Truncate source file to beginning of source range or max(beginning_of_source, end_of_dest) if files are the same
If an application specifies more than one, the kernel chooses the most space efficient and if tied most time efficient method.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds