[PATCH 0/5] splice: locking changes and code refactoring

David Miller davem at davemloft.net
Sat Jan 18 02:44:53 CST 2014


From: Al Viro <viro at ZenIV.linux.org.uk>
Date: Sat, 18 Jan 2014 08:27:30 +0000

> BTW, would sockets benefit from having ->sendpages() that would take an
> array of (page, offset, len) triples?  It would be trivial to do and
> some of the helpers that are falling out of writing that writev-based
> default_file_splice_write() look like they could be reused for
> calling that one...  Dave?

That's originally how the sendpage method was implemented, but back then
Linus asked us to only pass one page at a time.

I don't remember the details beyond that.



More information about the xfs mailing list