| From: |
| Miklos Szeredi <miklos@szeredi.hu> |
| To: |
| jens.axboe@oracle.com |
| Subject: |
| [patch 0/3] make splice more generic |
| Date: |
| Thu, 07 May 2009 15:37:34 +0200 |
| Message-ID: |
| <20090507133734.450612199@szeredi.hu> |
| Cc: |
| Max Kellermann <max@duempel.org>, torvalds@linux-foundation.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org |
| Archive-link: |
| Article, Thread
|
This series makes splice(2) work in more cases:
- pipe to pipe splicing (zero copy)
- fallback splice_read which uses readv()
- fallback splice_write which uses writev()
Just after cleaning up my patches after a vacation I found Max
Kellermann's patch on LKML implementing the first part. I'll still
post mine, because it's slightly simpler (no ref + unref on the buffer
if not necessary).
One more generalization would be to allow splice to work on two
non-pipes, using an internal intermediate pipe, a-la do_splice_direct().
Comments?
Thanks,
Miklos
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/