LWN.net Logo

different API

different API

Posted May 14, 2009 21:12 UTC (Thu) by mslusarz (subscriber, #58587)
Parent article: The two sides of reflink()

It would be more general and powerful to reflink (or clone or ...) only part of file. API could probably look like splice.

long splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags);

So don't add new syscall. Implement splice for two descriptors on one filesystem!


(Log in to post comments)

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