Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2845684imb; Mon, 4 Mar 2019 16:05:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwYse/6Ltd1rGcaXORZOpyzgeWdSl6p2+NaNFxkzPAqNAbSFtatVpnhKDfn1+r28NDWBtEV X-Received: by 2002:a62:20d2:: with SMTP id m79mr18183225pfj.135.1551744325017; Mon, 04 Mar 2019 16:05:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551744325; cv=none; d=google.com; s=arc-20160816; b=uk7V4/RKy3r/Rlz2iHnW6GFTYItiTfP6s06mRjmxPEixq4t+3OfYmTYGXpGT/5Zj1A CBjyxJ1VIhvwJvBdOD49kJ+fv9AFgisQlrdhT8NgOvoFYZxw8vjxGYwGiuV7p0OpBBVf oG82zTi/MXwhGOBUaaSPOCzPkAxmzpR1Gl/R7Pi87rQ5voa+xdec0JhceyJmWwJziWhU pjzb3gVtkgwzSvNB+GXHKH1V2suP+u3V41kWR9M5ZIU+1V+BErWWMBj0kWEYH+0Lh78F XaxFhA9w5W/VR+u9Mp4l+tyZsHUBb/CfTm3ik8fffYMMfM6lc+xWYgtcPMftOrpIv23c TWUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6+or+R9ZXBalBggrOHVcu1Z47tiNZfL9C2jfjaW2L08=; b=P6Dk0PukAKV2/1ELjn16qI36+76UGN4GbMILPBG+XVCdfsHDP1dwfwmrBPxMMoLQnG v5YmFHXVRws9JVKjW4UURH+IQm4ZC9hoMhL217Ai9VtKcdvn74js0fh9UVANMeD1Wlks R1iKo/dVU5rHSih/nJZB0XwXdCYqD3wErde+RqdJg0r1o+5096R98Iyn+g/s+qlVn8ax a2vnEYbkuPvBED5mZ+prBh6qlWseMeSGd3d41TxAPst2EIp6yoJ08p7mLk+shUXk502+ n/p0+r+C96kgogOos2t93Thdc6IB5hV5X+cWzF/O5dAvtAYtUmsqjGESiDKzx5wYhVnB pimg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=M0UMb6Jd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a1si6889016pld.152.2019.03.04.16.05.09; Mon, 04 Mar 2019 16:05:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=M0UMb6Jd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726646AbfCEAEc (ORCPT + 99 others); Mon, 4 Mar 2019 19:04:32 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:36644 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbfCEAEb (ORCPT ); Mon, 4 Mar 2019 19:04:31 -0500 Received: by mail-lj1-f194.google.com with SMTP id v10so5947480lji.3 for ; Mon, 04 Mar 2019 16:04:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6+or+R9ZXBalBggrOHVcu1Z47tiNZfL9C2jfjaW2L08=; b=M0UMb6JdBnBIp6SCfuvGBMn4scTD1lzprnlBLpuzDtuEWi6Eb9z3fRGl44/4vWrs2O nUFfCqCxj0e+QLkaBeVO/WND8wnulNTTeKFyDzxEMCYBF6OvPQvnsFVWsuyAdywYtO6H 4LiHh4PS0sQGMQetphZxWjGTOHZbJKAL881SM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6+or+R9ZXBalBggrOHVcu1Z47tiNZfL9C2jfjaW2L08=; b=S2BpVaG7lJx7WyBwxkt6LIl0MPz1YHn6XD2Cxua+0+pZImiogOtRX1tKfnl836mlBP 9IaRkRqKVn/bbimMP1Vt6WComC3nlB5tTscdiHEFhu4DE4Y/3sVAamEtPt+0wypESMmD eabQEfhSImbg96zqvaaZqJ5SN/c3NgZKTua7ZFVrgxnaZxsKvstf0qHPBVtDdATM0MTU ENoaj2czFelJGsU9Ey9hVQLsOP73l5C/jBOrMIfSj1gOzk4vSd4wuZnfg++o7ja6ZXub JW9ORd7VFs/CgkQPSH3ST3vfcgqfDlqymxHXgibjlTj+uaFEvKqaNN49MsoLlWYqgtNp /DPQ== X-Gm-Message-State: APjAAAWfi7SE80YZTnpEnUzaAhzOsFs7Qz6y/wwEOaV8TQAK3DJD6yid df7qXklGhUcuWObKNnO5BwBwO7InXbA= X-Received: by 2002:a2e:8018:: with SMTP id j24mr11609143ljg.118.1551744269041; Mon, 04 Mar 2019 16:04:29 -0800 (PST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com. [209.85.167.54]) by smtp.gmail.com with ESMTPSA id j64sm1597986lfg.42.2019.03.04.16.04.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Mar 2019 16:04:28 -0800 (PST) Received: by mail-lf1-f54.google.com with SMTP id z23so4845141lfe.0 for ; Mon, 04 Mar 2019 16:04:27 -0800 (PST) X-Received: by 2002:a19:40c2:: with SMTP id n185mr11458417lfa.67.1551744267351; Mon, 04 Mar 2019 16:04:27 -0800 (PST) MIME-Version: 1.0 References: <20190207154519.8635-1-kaslevs@vmware.com> <20190213094445.1774f959@gandalf.local.home> <20190219121212.6c46b979@gandalf.local.home> <20190304105836.33f80dc3@gandalf.local.home> In-Reply-To: <20190304105836.33f80dc3@gandalf.local.home> From: Linus Torvalds Date: Mon, 4 Mar 2019 16:04:11 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH] fs: Make splice() and tee() take into account O_NONBLOCK flag on pipes To: Steven Rostedt Cc: Alexander Viro , Jens Axboe , Slavomir Kaslev , linux-fsdevel , Linux List Kernel Mailing , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 4, 2019 at 7:58 AM Steven Rostedt wrote: > > I'm still just hearing crickets about this? Should I just send this > directly to Linus or Andrew? I'll take it. It looks sane. Of course, if it turns out that this breaks something that assumes that splice blocks purely based on the SPLICE_F_NONBLOCK flag, we'll have to revert it. Looking at the history of splice, it does look like it has always ignored O_NONBLOCK. Linus