From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796027229; b=HRPJegK/O9Xav4mPDbxP3AOzjeBVSb8BEwRRDwGyffCEkexwLTbkTXfXam5AuzzIyYGH FminI5cELGyMxWx0BJvNNbgfBmqmWzgvp8O2dxB28fSDk9CfTPec1qnknUz+O1pUtIShs TTIRTConuBnmNvYcmcf5qqnef7HXoYx/U5vVTFTFml0VKnmiT+/q1xSSEEGyWMWaj/Lgv lBHiXhjQhjF7cbMB1bVsbw3i4BhHRsziZxE04Vhg8z/6qgx/9MTpI/eitoin6KxOwEzgt 11dIk4Bf1Gh0eGlgZZwH6aKT/EGCbVfcZ0fGGT5YO1p3TrN1W9ELEyXL/fvFKDEM8iA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796027229; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=hTRH53QGAt8X1e0assDVFFKRsIL06UUFtKnbpXZw76Y=; b=nr6EPn5XluYlYcWiYSdsfneaiDxQfQnexuxFWCZ3zY4TLQeh3ikJL29Y8EUC5DAB8DRy sXtkv274J/3trkEsaS+KtZrQlr+ygb3SARAVXTSY/b4i2KJCFHyVIHPTaoeSmK8eelbjd FZhLnJwLI5D7N2HcnJ0GHsPKK3O3JtbmW1KVQXMIR/LN5DP4CQ4LRnCr7FDO7fgH2zqji GJFwAclu9etbss0PKYLne0VXa2+b8ugA/pVdI3pX6hmYXxhwTdJN3YrgqGbg6DXE5EoT6 o/T5ABu7nlzOoDx0yPNKADQc/vpcRuuyrVGB8b7uzl/sTB4g7LaOBmEviAQnvFtEJEw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ekJQ9d58; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2CBC606A31C; Mon, 30 Nov 2026 08:27:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ekJQ9d58 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 08B861F00898; Mon, 30 Nov 2026 08:27:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796027228; bh=hTRH53QGAt8X1e0assDVFFKRsIL06UUFtKnbpXZw76Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ekJQ9d58ZoZ+L2fmQDD3kowmUkoPTcPPknHtBNOch2qBJ5REbN7KKT8ooGa2GXJw4 /TrIPG53a6sGMj+kPQPCkRuHVocKLTx8FquPNUaajNFPYv5p50k2RM+f3zrNhNzgwg BTkbYfN4iGIUq2HgJGZuifSOW7vnyTeE+YZchgxAYpbc9ilTz6qPi5rs/Eln+TZvHW zMH10vzUztIqNDRz8/oaaRq8XKRjiZQjapM4iJ6U39qc2sMrPzniOmzel17t1CTv39 ZehNKFIEiRPdrAtix3pSBo2Bx0OD4nRDNeBA8WX+BODjJKTmD560f4aGnPGmBsqT0s SvJrRfdCZzZgA== From: "Richard Weinberger (sigma star gmbh)" To: linux-mtd@lists.infradead.org Cc: fuse-devel@lists.linux.dev, netdev@vger.kernel.org, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, davem@davemloft.net, miklos@szeredi.hu, vigneshr@ti.com, miquel.raynal@bootlin.com, david.oberhollenzer@sigma-star.at, upstream+linux@sigma-star.at, Richard Weinberger Subject: [PATCH 05/10] fuse: Allow three output arguments per request Date: Mon, 30 Nov 2026 09:26:28 +0100 Message-ID: <20261130082634.2750846-6-rw@kernel.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261130082634.2750846-1-rw@kernel.org> References: <20261130082634.2750846-1-rw@kernel.org> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Richard Weinberger MTD reads return in-band and out-of-band data in one operation. To serve such a read with a single request, the reply has to carry a header, the in-band data and the out-of-band data, each in a buffer of its own. Raise the number of output arguments of struct fuse_args from two to three. The code which copies a reply iterates over out_numargs, so nothing else has to change. struct fuse_args is part of every request, so each of them grows by the size of one struct fuse_arg, 16 bytes on 64-bit. The first user will be MUSE. Signed-off-by: Richard Weinberger --- include/net/fuse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/fuse.h b/include/net/fuse.h index 30155f2ed17c..bd34f2025287 100644 --- a/include/net/fuse.h +++ b/include/net/fuse.h @@ -58,7 +58,7 @@ struct fuse_args { /* server requested io-uring zero-copy for this op */ bool zero_copy:1; struct fuse_in_arg in_args[4]; - struct fuse_arg out_args[2]; + struct fuse_arg out_args[3]; void (*end)(struct fuse_args *args, int error); /* Used for kvec iter backed by vmalloc address */ void *vmap_base; -- 2.55.0