From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 14 23:20:58 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87A78CFA for ; Sat, 14 Feb 2015 23:20:58 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40DCE2D7 for ; Sat, 14 Feb 2015 23:20:58 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id i13so17438687qae.10 for ; Sat, 14 Feb 2015 15:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1D95QvuynjsZS0B3mkVSUW3acY1J9J+lVYf6vj/cwM4=; b=wlX08IlaeCN7TL6yYOmUD4OjmdgswpU/KU0HJCjhcts6rPAydLkRDVC/s9JvJvKjB3 HWgytczlFvpDzpRK+lvCgXCPnhAGYP7YUcO1C6EB5ehbaNrkdy2q4SgSoK48OcdDRLw9 y/CcXa0ClMWWHJ+DfMZ5rfNcg5Bwd4+ECcfdtWWWXzkX9U5y++qexAibpegDPxoT5RLT MjldCYvr9F3E7EwXbqRjLUgB4OhGgJs955+2Yc++H0pV4em52zsHV3dqbuOTVzS42M/p /ZxMaXg2yp2BUthjXZtTC7bJ6z8jgELDvt2Anhh9N6cxAmPdhdOVa4O+Q+VzIgSquqGG sttA== MIME-Version: 1.0 X-Received: by 10.140.133.21 with SMTP id 21mr11897259qhf.40.1423956057359; Sat, 14 Feb 2015 15:20:57 -0800 (PST) Received: by 10.229.34.134 with HTTP; Sat, 14 Feb 2015 15:20:57 -0800 (PST) Date: Sat, 14 Feb 2015 15:20:57 -0800 Message-ID: Subject: sendfile() from pipe From: Ivan Krivonos To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2015 23:20:58 -0000 Hi guys, Are there any special reasons why pipe (writing end) is not supported as sendfile() source ? I`m thinking about implementing fast ZFS replication tool and having ability to zfs_send() to the one end of pipe and sendfile() from the other would be really nice