Message ID | 20250319001521.53249-1-jdamato@fastly.com |
---|---|
Headers | show
Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCCED8F5B for <linux-kselftest@vger.kernel.org>; Wed, 19 Mar 2025 00:15:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742343339; cv=none; b=SWq8S1ENIjgElBnpZG+xo89Z46yrGOiluEH269Yev/Uq7lNOSNTQNKT9Ebzu0rwVec6W4DJww1hWAVR/VBYD4TIwZ/48yrxZF4pLFzxQ53cPplYxdfBJYKMnwUAINopsyNvr2IDgIqGsFlzN8QUGH+Ij6fuJ5Vc0/ECVGut2Pvk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742343339; c=relaxed/simple; bh=pHQtgKFyhe1UEM5H1CkXAkQ9ckxP7iar9/3rqYLA8vg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=mtrX08YoUVG8Gx/+3cZTTHBcl/wFwWFjHQmtgFj5hiY+a/rdAKSF4147BGN0NTlAlIRJ95nq3fCc1pDM8ubAZyxCWJSCosZvxCyFMXpsyH0UjofllQ4Or02QBMV+Y3I0wrbKO/K72qVnAZpX91up9ijQPfp3X+sBgE3SiszJ4Xc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com; spf=pass smtp.mailfrom=fastly.com; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b=nk345Hev; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=fastly.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fastly.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=fastly.com header.i=@fastly.com header.b="nk345Hev" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2243803b776so7326355ad.0 for <linux-kselftest@vger.kernel.org>; Tue, 18 Mar 2025 17:15:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1742343336; x=1742948136; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=D+sBSgchPHWEySP2bfLrt8df0wwyowAu2mvbj20TByA=; b=nk345HevUR7Q//BQX4OH2ApWTTxQWu7RzOO4UWTlq6Z+7yBat+zUay0hQOo3Xq9cUS tr5tXyf2nFLDLxF3AWvhvuxljTtoNpPXFx5wJv+rdsQUjMXb9wlz/ap314zIRJTxT0wc guhhaJT2dEcojI086aYopFnWAV51/HgX8zp+k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742343336; x=1742948136; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D+sBSgchPHWEySP2bfLrt8df0wwyowAu2mvbj20TByA=; b=DQRjvO1BM+OaMFa90tjp/szE2XejcmGGerEFEQpQ45JparHLMLlTvvnr+VeuTJTr9s e+0iIUgTRzy1oJevXcukS3urpjQ3bClF5jZIfa9KaUna0Q2PtSRJmE6DRebtu/jiOsa8 xV/jmIER38qJrwiYPVRwFnCIVs/2JVFD59IWfoxI0CVpuqHpl/zUYovOsCz35Owm+UXB B7NH47BNgOUZwsYunI1dar6icDZDG6c/u9EJnEUGpM090qVkHxjFk1ny4DOTgSZu5nkf Dnq3bWyPMCqHp9ktPLx3kw48DXL4++YyZuSXHq0qpWZTw9x8uQlaoVtWADy28Zbe0JLd hH3g== X-Forwarded-Encrypted: i=1; AJvYcCUdmgVJDQxF91EGAYDxECz80IdZ1pm1x7NyKQ16g8EwO9CBFT188R15U3RUxCGbrPJ8OrDEEdi28eUaZIElEMM=@vger.kernel.org X-Gm-Message-State: AOJu0Yy0EcIjsw0KZRSChrT73EWBzFAkAscR8j4OPnNTQxwecSWLiLgG 2dCENFSAB/T1+vCTVXT3ZLWloviMfWKzg4YPgJ+pmf+Bu59VJh5miCbMRihKV9Y= X-Gm-Gg: ASbGncu/Mz0MwsGZLCVlS9cwCl25Zgvho0na8OBiDNWCEVUPv8b1nJnErEarOaslmW9 gOZftGb8E2Xa/jRBL8wrIiuWgEEkDiujuVgqf+47hhWiQjgGbWcGZ+spLP46kb973v/Lq5GGnbT T5JNmfwwfw2pfRxXXvZnDxFuFDW5NeNH0d7o47V8xxAJGfvIe/CLhcE/c4JUeRWsuRE+kN4w7P0 A7vk68cVEv6V7bhXryj2kJiDf9vZ7Da6+60gr+tY+qSGoYdNiLPbOUnQiaDgXpDCp58ZSCsX2o4 Tsq+AZD7nfKKeyiew8A/LiPunxvkSunj9j+wymYk6FP4hfy8tj7n X-Google-Smtp-Source: AGHT+IFUgmcp5ziiDMwrHetBewK21buOCfSn83hSdnwL6/awTXwLICTCoy55xovATS5hzbKk/tpnkQ== X-Received: by 2002:a17:902:f646:b0:223:90ec:80f0 with SMTP id d9443c01a7336-22649a3170emr9678415ad.22.1742343336040; Tue, 18 Mar 2025 17:15:36 -0700 (PDT) Received: from localhost.localdomain ([2620:11a:c019:0:65e:3115:2f58:c5fd]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-225c68a4876sm101281375ad.70.2025.03.18.17.15.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Mar 2025 17:15:35 -0700 (PDT) From: Joe Damato <jdamato@fastly.com> To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, asml.silence@gmail.com, linux-fsdevel@vger.kernel.org, edumazet@google.com, pabeni@redhat.com, horms@kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz, kuba@kernel.org, shuah@kernel.org, sdf@fomichev.me, mingo@redhat.com, arnd@arndb.de, brauner@kernel.org, akpm@linux-foundation.org, tglx@linutronix.de, jolsa@kernel.org, linux-kselftest@vger.kernel.org, Joe Damato <jdamato@fastly.com> Subject: [RFC -next 00/10] Add ZC notifications to splice and sendfile Date: Wed, 19 Mar 2025 00:15:11 +0000 Message-ID: <20250319001521.53249-1-jdamato@fastly.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: <linux-kselftest.vger.kernel.org> List-Subscribe: <mailto:linux-kselftest+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kselftest+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
Add ZC notifications to splice and sendfile
|
expand
|
On 3/19/25 5:22 PM, Joe Damato wrote: > Would you be open to the idea that sendfile could be extended to > generate error queue completions if the network socket has > SO_ZEROCOPY set? I thought I was quite clear on my view of SO_ZEROCOPY and its error queue usage, I guess I was not. No I don't think this is a good path at all, when the whole issue is that pretending to handle two different types of completions via two different interfaces is pretty dumb and inefficient to begin with, particularly when we have a method of doing exactly that where the reuse notifications arrive in the normal completion stream.