Message ID | 20240529-fuse-uring-for-6-9-rfc2-out-v1-3-d149476b1d65@ddn.com (mailing list archive) |
---|---|
State | New |
Headers | show
Received: from outbound-ip168b.ess.barracuda.com (outbound-ip168b.ess.barracuda.com [209.222.82.102]) (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 58DC015B990 for <linux-fsdevel@vger.kernel.org>; Wed, 29 May 2024 18:32:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=209.222.82.102 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717007555; cv=fail; b=YoExcxU0VbkIE8kTNkitujN4ltW4Y/yzI7fsnkpnP6ApNKekrKtvyNpcAJPyAjgYd2x0uReKpKrueA1I7BY1oASQeo28zn5bQk9ZcXrwd9O4rYKWqG586qBdZcDCrIimh0VNX7mWp8PFEr/DvsU8Q3gfo4yDtPyWS17INcHNbfU= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717007555; c=relaxed/simple; bh=5P+SlHhnYL+H2qDGLLceYVEx54wv23x8rBxC3VHaBIA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To; b=kaS5Pksd5SfEF69d0wb7nr2aGPm4n4VkvpXS4UFSuMqOpL0/Sjr4j8AnZXXMNx70j1pvVYJpUd7jp77xJ4tbXqu2XuIg+xyQ6vuDS8hxhQG8RJOE6bphtUoEjIVHvtoDxeu7bmDk4o9umRpssc3WApyh1t50iuTSDM2GdhZAnYc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ddn.com; spf=pass smtp.mailfrom=ddn.com; dkim=pass (1024-bit key) header.d=ddn.com header.i=@ddn.com header.b=Udz61Use; arc=fail smtp.client-ip=209.222.82.102 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ddn.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ddn.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ddn.com header.i=@ddn.com header.b="Udz61Use" Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam04lp2169.outbound.protection.outlook.com [104.47.73.169]) by mx-outbound43-95.us-east-2c.ess.aws.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 29 May 2024 18:32:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HqclSzZedTANCDhEVIwn2Uqslv+qXaq2tmWYFSp2T0mKH5ttfp/KxpeSopSoaXMQ+sIXHDTiYq26SUmolqdqZ+7oeKq2edU9XMj0NOiQYvaubXi34gU3AAjhlX/5tTsAOHiY4DUfoRBq0xSne11teF5+nZc47cq1z4KFVvscvbvwkRWZCV7MNBsP3xNVfdD0K8KlXWrAeWWFGG069dg+vmfzWga+Y8Y0IwcpwH6WMqtzOx9PKSGMn8rHG+IZSJ6ByU8FlKfB5FkHODr2XtbyXQ6H/kXrjFwh7rPHVtYiXwAijuYS5TsKG42PyEfwYSBVtnUrPqu7NQ0MaobRqOe23g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aASvbKn+gE8AZu7tSrVfXZnhZs5w6zP3ns3NT3u/usU=; b=NEikDEAGbKFJZzi8BfyUpaCTRqXNzU7BjOqOSTeWZWaEcDNnKWvrn6n93L+OMI08xHIWBg1GrSq/WVYAzTvR53XaHsCq/b2bzrj/K/LvAM7CQcRjLkZs/HCgTwdcTdEMnPhgGnpcJuhODhLEuWSc7rjpO4Y4OrT01cZD2ulW6JeDAkl9XgFPZ3zceuZUzUxMZ+mpOBPx5odguOKuW8CTexm8nP6Og8eFh3O5gBhXyEWEV3h3N8//JNm3qvz3OQkvIXKXlDqU7oReSNg4cw8NS176A3a/goR6HVeu1s8hmSWHW/4h8jgOMcvUm0dAAdkLvoWD7NXivIk12vX2DDUjmw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 50.222.100.11) smtp.rcpttodomain=ddn.com smtp.mailfrom=ddn.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ddn.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddn.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aASvbKn+gE8AZu7tSrVfXZnhZs5w6zP3ns3NT3u/usU=; b=Udz61UseCywoXwA/gVaxbWtYym3nRkApKTbJ0mHFzLgjcHZ1LkuMe0MmkBAOzvPsQHEnYxyrQipV8EpnyWk6wIE2Ca2gLyDhrbPOHUZMxDSCmUg0B76gBoORTxqbAQuLn7xRK83GMvcn5CQyTnPWTdQhrEc6PdwBu1/Iw5t7zGw= Received: from CH0PR08CA0002.namprd08.prod.outlook.com (2603:10b6:610:33::7) by BL0PR1901MB4721.namprd19.prod.outlook.com (2603:10b6:208:1ce::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.17; Wed, 29 May 2024 18:00:53 +0000 Received: from CH1PEPF0000AD7D.namprd04.prod.outlook.com (2603:10b6:610:33:cafe::52) by CH0PR08CA0002.outlook.office365.com (2603:10b6:610:33::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.18 via Frontend Transport; Wed, 29 May 2024 18:00:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 50.222.100.11) smtp.mailfrom=ddn.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=ddn.com; Received-SPF: Pass (protection.outlook.com: domain of ddn.com designates 50.222.100.11 as permitted sender) receiver=protection.outlook.com; client-ip=50.222.100.11; helo=uww-mrp-01.datadirectnet.com; pr=C Received: from uww-mrp-01.datadirectnet.com (50.222.100.11) by CH1PEPF0000AD7D.mail.protection.outlook.com (10.167.244.86) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Wed, 29 May 2024 18:00:52 +0000 Received: from localhost (unknown [10.68.0.8]) by uww-mrp-01.datadirectnet.com (Postfix) with ESMTP id 330C825; Wed, 29 May 2024 18:00:52 +0000 (UTC) From: Bernd Schubert <bschubert@ddn.com> Date: Wed, 29 May 2024 20:00:38 +0200 Subject: [PATCH RFC v2 03/19] fuse: Move request bits Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: <linux-fsdevel.vger.kernel.org> List-Subscribe: <mailto:linux-fsdevel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-fsdevel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240529-fuse-uring-for-6-9-rfc2-out-v1-3-d149476b1d65@ddn.com> References: <20240529-fuse-uring-for-6-9-rfc2-out-v1-0-d149476b1d65@ddn.com> In-Reply-To: <20240529-fuse-uring-for-6-9-rfc2-out-v1-0-d149476b1d65@ddn.com> To: Miklos Szeredi <miklos@szeredi.hu>, Amir Goldstein <amir73il@gmail.com>, linux-fsdevel@vger.kernel.org, Bernd Schubert <bschubert@ddn.com>, bernd.schubert@fastmail.fm X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=ed25519-sha256; t=1717005648; l=1165; i=bschubert@ddn.com; s=20240529; h=from:subject:message-id; bh=5P+SlHhnYL+H2qDGLLceYVEx54wv23x8rBxC3VHaBIA=; b=2R0WPTWASSU0CasQsjhXxXy5gg3mO1J70SSQpabQ8PaV53rTL2NjybsBhGNBPuEX1Jijwyj0X IHtxp/AeQGdD3pfvxSJsgPDxZp5CXzPIvDqZ2j1F67FHFthCilOV2xd X-Developer-Key: i=bschubert@ddn.com; a=ed25519; pk=EZVU4bq64+flgoWFCVQoj0URAs3Urjno+1fIq9ZJx8Y= X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH1PEPF0000AD7D:EE_|BL0PR1901MB4721:EE_ X-MS-Office365-Filtering-Correlation-Id: ec2e5acf-91ff-4e9a-7471-08dc800947f3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|1800799015|36860700004|376005|82310400017; X-Microsoft-Antispam-Message-Info: =?utf-8?q?zY+3o6Vfq+lEJ8iuBTK6Ekuh0jG3s15?= =?utf-8?q?9IDaKIOCmAJKDeNUSMUJlGcl/nL5X2gLkpwljf8e12XpcwOoH758Gb1vj7ZlJ4oOC?= =?utf-8?q?UhzdJTLpJWMgXgkWwCqinSockEQTGQMo7H04C072w/z0xCzgp1cO9yqZ/Y5575dNR?= =?utf-8?q?V8iNtZJsAJ/rJzkBl7/i/AilMBqkPd5R9j8rl2Ybt9R7Rdgvtt85Dso2JXVKI2v8G?= =?utf-8?q?RAXKQOiQIxIeiYbl8pKKY/Dk/qwXOYAdvybHS3cZF1l48X/6OKSzoYQd1cHchQOXN?= =?utf-8?q?uYxnPbqbbXpep1Ym6NU6KiY6shCo3fY0Ws9q1aMtU7HzR1U+Ws6PZqLAT8YqRJpCY?= =?utf-8?q?p+Z1T0MAzrzMRhF16KK1gVYhhXVbHMCctITtv6TEgetZaY0XI1w5lK5TIrb9b9SB4?= =?utf-8?q?hbJQRCRVU92dieE9wEeCaFRnjRUNTylck4oON/DwfaJtjLFnnYZvjXw77S+XvlTkZ?= =?utf-8?q?haOZCB9w7KFbA4silvG7S39Pluf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CIP:50.222.100.11;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:uww-mrp-01.datadirectnet.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(36860700004)(376005)(82310400017);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: A4S+gPmxwDTpzhEhl1Gt7vC328WqgahzDYJNElAkOfQhkiW+++3XozU2HlR9gBHAgrFjdSXilZ5GAFgbIokFAbgt80f5ej6IkEIXcgDNRV8nJq+6QmktCG/of5L2g5WGU1KRVQwHOit+izs8EoVrG8/wyWVHD+3JbtqQ2kEVyH5QGdHg7B5tKtuHlfVJ77xXs3yw4Stxa2/WSCustXSq6nAy1BUV1am7cCdYGDdw0idz6IMgxtGqaOSeiBTOMJxKy0GqE0dk7LxpuMVTsKanCaCKZa/YWxChBIj76J2o/Yw4y2cbbdFeFGdDxqn9DXJ2i/wPV9WNphAlWnL4VHDxFGICEugOs2cux4w8Z7nWXKY0ODedGYULSIalyulUCNkPvNtyzNLXonmGRhDbJ2TY8J7aaEcdGZMgUOkZH9OlGfryOY12VuONjjPrNcK07r2uTnIVXQ26/cAEDmLY1iC/9OAtnXBDb9AnzpX3YtusnJZTh1hV1ReDXPMkg6iAtPJe9W9bSVruo3KUlZT6mf9my493ZbiqWNflt+2OW1ZOXi8C3sFxCWsABL0GOt4XuSE3bqaWbzP5jwOZKU4LLPAM7WYT3EohYi4RdToAa0gAswOxC2cR2WRYJL0izDZK05/QlxBS4DGjoz5d/k1UinyHWQ== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 18:00:52.8872 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec2e5acf-91ff-4e9a-7471-08dc800947f3 X-MS-Exchange-CrossTenant-Id: 753b6e26-6fd3-43e6-8248-3f1735d59bb4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=753b6e26-6fd3-43e6-8248-3f1735d59bb4;Ip=[50.222.100.11];Helo=[uww-mrp-01.datadirectnet.com] X-MS-Exchange-CrossTenant-AuthSource: CH1PEPF0000AD7D.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR1901MB4721 X-OriginatorOrg: ddn.com X-BESS-ID: 1717007552-111103-12694-19299-1 X-BESS-VER: 2019.1_20240429.2309 X-BESS-Apparent-Source-IP: 104.47.73.169 X-BESS-Parts: H4sIAAAAAAACA4uuVkqtKFGyUioBkjpK+cVKVoaGRqZAVgZQ0CLRNNk8zdwyLc nQLMk8ycgi1cLAwiDV3NjSKM3MzMxAqTYWAN+niK9BAAAA X-BESS-Outbound-Spam-Score: 0.00 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.256584 [from cloudscan13-251.us-east-2a.ess.aws.cudaops.com] Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.00 BSF_SC0_MISMATCH_TO META: Envelope rcpt doesn't match header X-BESS-Outbound-Spam-Status: SCORE=0.00 using account:ESS124931 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, BSF_SC0_MISMATCH_TO X-BESS-BRTS-Status: 1 |
Series |
fuse: fuse-over-io-uring
|
expand
|
On Wed, May 29, 2024 at 08:00:38PM +0200, Bernd Schubert wrote: > These are needed by dev_uring functions as well > > Signed-off-by: Bernd Schubert <bschubert@ddn.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Thanks, Josef
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 3317942b211c..b98ecb197a28 100644 --- a/fs/fuse/dev.c +++ b/fs/fuse/dev.c @@ -26,10 +26,6 @@ MODULE_ALIAS_MISCDEV(FUSE_MINOR); MODULE_ALIAS("devname:fuse"); -/* Ordinary requests have even IDs, while interrupts IDs are odd */ -#define FUSE_INT_REQ_BIT (1ULL << 0) -#define FUSE_REQ_ID_STEP (1ULL << 1) - static struct kmem_cache *fuse_req_cachep; static void fuse_request_init(struct fuse_mount *fm, struct fuse_req *req) diff --git a/fs/fuse/fuse_dev_i.h b/fs/fuse/fuse_dev_i.h index b38e67b3f889..6c506f040d5f 100644 --- a/fs/fuse/fuse_dev_i.h +++ b/fs/fuse/fuse_dev_i.h @@ -8,6 +8,10 @@ #include <linux/types.h> +/* Ordinary requests have even IDs, while interrupts IDs are odd */ +#define FUSE_INT_REQ_BIT (1ULL << 0) +#define FUSE_REQ_ID_STEP (1ULL << 1) + static inline struct fuse_dev *fuse_get_dev(struct file *file) { /*
These are needed by dev_uring functions as well Signed-off-by: Bernd Schubert <bschubert@ddn.com> --- fs/fuse/dev.c | 4 ---- fs/fuse/fuse_dev_i.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)