Received: by 2002:ac8:4f0c:0:b0:427:7d78:cd45 with SMTP id b12csp240408qte; Thu, 21 Dec 2023 00:27:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IE50YQKE5xwVAju2TwdbmfLM3CAFAdrrQMyEXDDXgheq0MO9zbfn/fAdTlc3+BuVBTwL9Jw X-Received: by 2002:a05:6870:9a02:b0:203:b52f:7079 with SMTP id fo2-20020a0568709a0200b00203b52f7079mr1113326oab.115.1703147249585; Thu, 21 Dec 2023 00:27:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703147249; cv=none; d=google.com; s=arc-20160816; b=bYpdyjTNj9jUZatJVlinr5lYjcsNf27VQPtWmy2OUPe5Rjx+MZmlRZgypj4nBIZqli fY1+2wLOQAPShYVRNGYj+9906R2nG6PuD5P1Wurfsc6K+dYRSzrW9jMLLYQhFcOykVWz l1tvfPT2RROS7Q7+cZPbuBa+J00kVOIeNc07M5JfXnFZ6MY8CjkWkJu/+NGL+WIPudLV 8e1AzN6x73UKev90DahXc69GTOhe3BZcorRJh6tKbJeLrco97ka4NeYJVgxbpEes7rxc rbnpSazg/pP902lJzDkZNv25kRKajyz78d+qgWurGMKqVGhFHDilHqorpCrkiS9ra3TB v9bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=s5bF4a3oGHwRzhZloQgs1py2PtbiD8YbppXPrzeqwbA=; fh=EFFEZKA9fv3JZox986k+mAdsLzZhQJAhLwRQQQO5utg=; b=t+u5waFovA+8BQ4ogcm/yXhKFAbI9qhu9paF+yC2SISSSGXd1lbr6kIivCcuidS5Nd tNxx19XTIsV57WNBH15NT0LPAoPgDzBpUk+n/FdjoeolIproUOZBEhcWUNQqH9KGalyK nxI93Y7zwNkezR1OM3Ep9vMbpqcpROShlRO+yyWnSracFkHkFajWS0G3sMwmLYhl3ilF /h+tSXGnLaYGOkUFXiKKeKS36XWpq5Mw8g+kkZEGQ++tcwsrESmwKwVIThXg+Jii8i+H QGyT92QiV/nEpppTsoC4Vb5u212QUdA4aRac5oOQzZXeHXwRc9caSgFGHcNvxrdHrzT/ xhVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nioerWnK; spf=pass (google.com: domain of linux-kernel+bounces-7993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7993-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id a13-20020a65418d000000b005bdf5961646si1211005pgq.268.2023.12.21.00.27.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 00:27:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=nioerWnK; spf=pass (google.com: domain of linux-kernel+bounces-7993-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7993-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 271C1285C47 for ; Thu, 21 Dec 2023 08:27:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E33016413; Thu, 21 Dec 2023 08:27:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="nioerWnK" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74D6C168A3; Thu, 21 Dec 2023 08:27:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=s5bF4a3oGHwRzhZloQgs1py2PtbiD8YbppXPrzeqwbA=; b=nioerWnK9UmuutYnZj7Kp3QwZu gdzZzbiPuJDuIpBGu1tEMOiHeEweD17H3Bf/T+JZpIofNJ9ixWWE8FNTS9isrUb/KsIR6iA/btVEg 44SUTE/EzQqqIkfQnMb0CrHrGV6ofH6Kz9Hpan5cc8JM0GE+X3aTmk+sZ6z2DD8sj9gYtj3mFL3EU Eimb8fbbyl8Kb7NzS973TNxCMeIsX1RiEIUE8f4NG8Ku/K3s17dKpuWvlUBb+XM0ZgDX/64Eyhbdx 0KSaTq/P0Rvrc/bTOCf/KXHtn8c9jvZYpJgsQRdDPNleanbNzKG01TEUYGIDvS/jOvBIKv8UUCOU/ Qfi1RubQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1rGEOe-0022BA-08; Thu, 21 Dec 2023 08:27:12 +0000 Date: Thu, 21 Dec 2023 00:27:12 -0800 From: Christoph Hellwig To: Ahelenia =?utf-8?Q?Ziemia=C5=84ska?= Cc: Jens Axboe , Christian Brauner , Alexander Viro , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 01/11] splice: copy_splice_read: do the I/O with IOCB_NOWAIT Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Thu, Dec 21, 2023 at 04:08:45AM +0100, Ahelenia ZiemiaƄska wrote: > Otherwise we risk sleeping with the pipe locked for indeterminate You can't just assume that any ->read_iter support IOCB_NOWAIT.