Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4351355pxb; Sun, 14 Feb 2021 07:26:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdBuLUGdZR1V/ax/tsJBwyFvMssbfQJyWmC/KJXjyTPqcvjGLfcRs5tTWXOMlBO9j69JNV X-Received: by 2002:a17:906:46c4:: with SMTP id k4mr822714ejs.169.1613316400998; Sun, 14 Feb 2021 07:26:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613316400; cv=none; d=google.com; s=arc-20160816; b=WDDGpSC/mi7AOjPnbROQAFRYIjJYlx+yphyP4+nSy2Mn492Za0o0LV5raXWBmKMt9x P+fIv7XNmvNMqvqH4UN0iacP3e/SzrWbx0YGPq/b76s53AYxCXvg+YoV6E7OKZB3IKlP ZBxMJNhli86adQDfTVG83NY8YQk4qX+SUuYx3W0Tg/Bja6HQU6Zhx+oIB8LBLgooHMty BK/h/5zXJlWtL2hUjH1l3liGMINYGMdWpM9nlAd3ctcN55LRKkTdGzdwwmlqc5c5JWGn N4baB0rY0wiMjgLrD5lhbq8rNkkGIImoppM8n73FasoY3UvWHSNmqDfmizOOtFKniagg NUKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :message-id:subject:cc:to:from:date; bh=kXkHvX886QmJ1XYvOJ37xt9WDGMhziLo+nMLLWHqjE4=; b=xok/t8H3kT8v04gL5WVx0U7y5qEmUQ4Mb9ZqA7vfgoFC5zIUhCDoROn8QdYVGlOuCn d6udmHbmMOuxRpcmYeCULmfHUkPDkXHSGiME7dTbApUJ3TacNtAZ92BHVq3Vm175fSdQ t6i6Pm8VrkuZgar66bH2eKIOHNmqaTxIK0/vpNYo3UmabvpmRSfV4Q7V8Pxc9+TmPt1J SAj+42bxOtAsFsP5fdtrubFYOhOkKFJEyBYqGtaJUQZf5tg5KcQnXuhQBbmI1xNydIrZ sMtvzme05XF0JxwpQwcNUmL3rQVcHZMs3ubqgMCYgFzXUxEtyPPSm7GCMC6p7lMafTTz Dr+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w12si1198855eds.140.2021.02.14.07.26.09; Sun, 14 Feb 2021 07:26:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229741AbhBNPUQ (ORCPT + 99 others); Sun, 14 Feb 2021 10:20:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbhBNPUO (ORCPT ); Sun, 14 Feb 2021 10:20:14 -0500 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A759EC061574; Sun, 14 Feb 2021 07:19:32 -0800 (PST) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94 #2 (Red Hat Linux)) id 1lBJBH-00DuWt-74; Sun, 14 Feb 2021 15:19:27 +0000 Date: Sun, 14 Feb 2021 15:19:27 +0000 From: Al Viro To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [git pull] sendfile fixes Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Making sendfile() to pipe destination do the right thing, should make "fs/pipe: allow sendfile() to pipe again" redundant. Sat in -next for 3 weeks... The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e: Linux 5.11-rc1 (2020-12-27 15:30:22 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.sendfile for you to fetch changes up to b964bf53e540262f2d12672b3cca10842c0172e7: teach sendfile(2) to handle send-to-pipe directly (2021-01-25 23:29:36 -0500) ---------------------------------------------------------------- Al Viro (3): do_splice_to(): move the logics for limiting the read length in take the guts of file-to-pipe splice into a helper function teach sendfile(2) to handle send-to-pipe directly fs/internal.h | 9 +++++++++ fs/read_write.c | 19 +++++++++++++------ fs/splice.c | 44 ++++++++++++++++++++++++-------------------- 3 files changed, 46 insertions(+), 26 deletions(-)