From: Miklos Szeredi 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 , torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org To: jens.axboe@oracle.com Return-path: Received: from fxip-0047f.externet.hu ([88.209.222.127]:42561 "EHLO pomaz-ex.szeredi.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754299AbZEGNiI (ORCPT ); Thu, 7 May 2009 09:38:08 -0400 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --