From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2275FC47258 for ; Sat, 2 May 2020 12:10:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE1E9218AC for ; Sat, 2 May 2020 12:10:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="PQzYJ9ix" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727930AbgEBMKl (ORCPT ); Sat, 2 May 2020 08:10:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726654AbgEBMKl (ORCPT ); Sat, 2 May 2020 08:10:41 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDCC7C061A0C; Sat, 2 May 2020 05:10:40 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id d17so14983515wrg.11; Sat, 02 May 2020 05:10:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vJlyhcAhYMixlcJSF8vt+n4ES0FGQmrD3QGfxwqt3zI=; b=PQzYJ9ix6jV9aU5NI5U7YFAX6vy8MEnu5LTAvyPNe3YHy7RyAMprIJBeycs/4Bf+KA nIQkMcPbQlhvRnhGfenNyl7SpB0qMz9g0derJ1PTYPKj48gRpC5qa0I9C7aSIX40mqK1 Py+utPjQzPdlc1j45co6E2/S2k+/ncdBFbbY5R/DwEHeKAlgWpKPr79x3UuInhcPFXTo 86a0LzJZe0ylzHz4kyES0Dd1KpkIeSTNfIsSajTC6QnhIF6gstkhc58hiO3a81ee1TzA SWC+p/Sc7q+8goJW2dQdhJlpAF43cx2t0qJWy9ZyJpAB4TrKxHBNKQh5j52znI4opexQ jOpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=vJlyhcAhYMixlcJSF8vt+n4ES0FGQmrD3QGfxwqt3zI=; b=uFrz/eN4KiM+QRKWAJPo/iqDLTTTYzwxYnf4hs8PLY9cQMM+xTLEAz5jsk4Y9pilcY cNgttIPSieVGQMVhSlylynN6QQlw+Yt9Z266KGAMXIw9b5yhTGxtZAWd+ckOwlRVU6V7 64Nu4tX02xJMk9j8LUcYGD2RTBcBdKxTg0Ig42hY2B1cjSMm3D0Dii1TFohiMqH7fnt2 ZT2hXNgUxdicCalA8mHj0JGxDPLPp1M9tMGBY0k95tfYTEftHvbRQqNUdUtT2iBGi86U zP7F6jTvmCcx90tOXUWMWDoCtVi7WaRWLMW92JVStk19C3ptL+FgNFQVM5XkjjlNllWQ z5jQ== X-Gm-Message-State: AGi0PuZorXrh6AnAWNuZk/ZExQueIsk11B/MoGLPd1Cvnnb0wNdexoQM 8338JZdF/hKhP1vhGs8ENSE= X-Google-Smtp-Source: APiQypIwCyHAm1w5bTLfIb0CFsuT+6IqwKZq5xo/9jwFYpoqiWfZE9tl41owZS9plmv5cQlNZQgYZA== X-Received: by 2002:adf:df82:: with SMTP id z2mr9913988wrl.58.1588421436926; Sat, 02 May 2020 05:10:36 -0700 (PDT) Received: from localhost.localdomain ([109.126.133.135]) by smtp.gmail.com with ESMTPSA id m15sm3858297wmc.35.2020.05.02.05.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 05:10:36 -0700 (PDT) From: Pavel Begunkov To: Jens Axboe , io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro , linux-fsdevel@vger.kernel.org, Clay Harris Subject: [PATCH 0/2] add tee(2) support Date: Sat, 2 May 2020 15:09:24 +0300 Message-Id: X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: io-uring-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org Add tee() reusing splice() bits. Pretty straightforward. Pavel Begunkov (2): splice: export do_tee() io_uring: add tee(2) support fs/io_uring.c | 64 +++++++++++++++++++++++++++++++++-- fs/splice.c | 3 +- include/linux/splice.h | 3 ++ include/uapi/linux/io_uring.h | 1 + 4 files changed, 66 insertions(+), 5 deletions(-) -- 2.24.0