From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.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.lore.kernel.org (Postfix) with ESMTPS id DAFA7E77180 for ; Wed, 11 Dec 2024 19:19:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=G34l3SOOFGkaA0U1xJroIsh8jMJs5H/F/yQIJ0OM8to=; b=SlzsBA+k/xqwhuarnKoV03vqIc H/VqXreF3DI4FpIPz9kr6Pdp5SffVo89vswcdn3T7xdoMGJ8lUB2zCPTlviT41H31G6a8CLpj4JbT a3eQeUAcngNfBrnw0Ao4MYCuceQRAAOmQkufHQXT37TLiNM00OSTfzrII5Gf423PEYPf39QO5iVdy SmG1ooDFL7zKfPUrakL4oQOGPlfzdQtOT8lytuWpmAR4U/DhUDLpItnRNnOIctMv3uMifX0N4bVOV bPi5x6SvCAa6+auy4mrYrZlEoFpCMFB2SyH6kpehJMsMlJDdyiw2wjuzHXTq69WEx1H1R5pPn7Cdr a6tEa/QA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tLSFM-0000000Fu0k-1kwm; Wed, 11 Dec 2024 19:19:44 +0000 Received: from mx0b-00082601.pphosted.com ([67.231.153.30] helo=mx0a-00082601.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tLSFJ-0000000Ftzo-2fma for linux-nvme@lists.infradead.org; Wed, 11 Dec 2024 19:19:42 +0000 Received: from pps.filterd (m0089730.ppops.net [127.0.0.1]) by m0089730.ppops.net (8.18.1.2/8.18.1.2) with ESMTP id 4BBI3B6R030163 for ; Wed, 11 Dec 2024 11:19:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=s2048-2021-q4; bh=G34l3SOOFGkaA0U1xJroIsh8jMJs5H/F/yQIJ0OM8to=; b=VnqIf+AuaD92 jOy6Y2Mt/OF6u8sbVvxzrPJdupVd6IC0fUwMjxXQvkzgNqgvUx7ELclCl8me/aNL xSgvMiB1XnSB55c7ykgLCUcPNh+KM6y1YEd8zO5pv5puATGjb81eqeItl1bObszV 8WdOLGAtyhf8czjjrPptnfSMq7Ygg88i9CuV6Kwd7IDFnNAImFruYB8sifLiGfxt Vq8VvVHNaKSHu4YLOPI3hJcQnkA4WkkkMVdYCUPUSdR/JHCtcaI8DWWsLknE8hqm KgPUU4lIWm363Vxa54oMI71ArZGFjS832U+ZZ9H0xcXoLSHXm46rCcqWLo87djeS AQ+kH6iA2A== Received: from maileast.thefacebook.com ([163.114.135.16]) by m0089730.ppops.net (PPS) with ESMTPS id 43ffp1rjc1-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 11 Dec 2024 11:19:40 -0800 (PST) Received: from twshared9216.15.frc2.facebook.com (2620:10d:c0a8:1b::30) by mail.thefacebook.com (2620:10d:c0a9:6f::8fd4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1544.11; Wed, 11 Dec 2024 19:19:39 +0000 Received: by devbig638.nha1.facebook.com (Postfix, from userid 544533) id C747215DE394E; Wed, 11 Dec 2024 10:35:15 -0800 (PST) From: Keith Busch To: , , , , , CC: , , , , Hannes Reinecke , Nitesh Shetty , Keith Busch Subject: [PATCHv14 01/11] fs: add a write stream field to the kiocb Date: Wed, 11 Dec 2024 10:35:04 -0800 Message-ID: <20241211183514.64070-2-kbusch@meta.com> X-Mailer: git-send-email 2.43.5 In-Reply-To: <20241211183514.64070-1-kbusch@meta.com> References: <20241211183514.64070-1-kbusch@meta.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-FB-Internal: Safe Content-Type: text/plain X-Proofpoint-ORIG-GUID: GKsavLUA-JVPNP5NFijGtjV13cuS0ikE X-Proofpoint-GUID: GKsavLUA-JVPNP5NFijGtjV13cuS0ikE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.62.30 definitions=2024-10-05_03,2024-10-04_01,2024-09-30_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241211_111941_784446_D15BAFA0 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org From: Christoph Hellwig Prepare for io_uring passthrough of write streams. The write stream field in the kiocb structure fits into an existing 2-byte hole, so its size is not changed. Reviewed-by: Hannes Reinecke Reviewed-by: Nitesh Shetty Signed-off-by: Christoph Hellwig Signed-off-by: Keith Busch --- include/linux/fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/fs.h b/include/linux/fs.h index 2cc3d45da7b01..26940c451f319 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -373,6 +373,7 @@ struct kiocb { void *private; int ki_flags; u16 ki_ioprio; /* See linux/ioprio.h */ + u8 ki_write_stream; union { /* * Only used for async buffered reads, where it denotes the --=20 2.43.5