Message ID | 20240817094800.776408-3-john.g.garry@oracle.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show
Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 43E88143723; Sat, 17 Aug 2024 09:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723888119; cv=fail; b=qJwFGWlF2oJt4OnnJYmPEstoLppgFxIe6iJlQyWt7ZRVERTt8ML3OOduyQyeYPfmzN2AOQGFNlo+oeP6sq+8761SMmOk34o40DzEqN+u5FbyJckr/QqQ456ZK+XoSqkzCTzMNXhAxH3VEEwu59FrGUpGYRDoSY6CIzo8ckB/f7Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723888119; c=relaxed/simple; bh=GYx7CpZu+ABnTqW6ZZtiDZhVHmU+L1Ki3PkGG5AMl9o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=Riqji5Xp7o6PR80u3LgGWevUNLEFcGoPX7GWnb6z5bfwX+0SyaNiq0QL2DsRYqbL65UT0xVImTTLi1Go1Fzt15Ru2lzazTaaj4QttrGxnYLOVZN6qdjmnY4W7i/0h9Sbea1MpYnDm4jKq7/9dkpA5114/k/RJBO9nA9gTQG5++U= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=FtsSpQAM; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=eQLwpUSY; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="FtsSpQAM"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="eQLwpUSY" Received: from pps.filterd (m0333520.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47H899rT016343; Sat, 17 Aug 2024 09:48:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :content-transfer-encoding:content-type:mime-version; s= corp-2023-11-20; bh=4FdaJnhZHFCRUjbwSGkwVcBVhcAaRCPdrwgw6Q3ROfc=; b= FtsSpQAMlr2lrFcBPLGGhKhC6abTd5pPfniUlwtXgLSIegCtEH/ychJJynyRfjwH SxnOsA9tIfWwX01uakc4tfPTtAgi599bki84fkqhuRCTTUU79jSbvB5QWpHyA/9a DlpJE0I6nsfpdf9nCcfm3DBnfxI6QFFOfcAHX0rtl74wT2omOOkkY1jsTM4I9TIO 6/CZBgJi0WAJo2533Xecd3TQ3rzFsqLhqMqtS8Zp9Bd7kzcLnEkac2rdJ5cHHGqN hXZa3p7xqaF46TcGQDBuKN/3v9U0ljAzWm5Koyy8pn7t3Bg1dzJPKjDzPJpeSpfV Yf8vOpVkrzOV+6AtkFA6Kw== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 412m3dg7mq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Aug 2024 09:48:22 +0000 (GMT) Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 47H769sZ002603; Sat, 17 Aug 2024 09:48:21 GMT Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2172.outbound.protection.outlook.com [104.47.58.172]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 412ja5y3xd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Aug 2024 09:48:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DqcW5V6dS2Yco0u+QXIRiqvHV7A8ZuB+BIk+zcetQb/pHdvon1Ks2RWz3+REPgqD5Zd7v4ARnLoS9Nx+P4Bv5nWMjLDzcRBQIqDLe3t4wc03uXjZK1jDZrM9KeEWOFP+KxiqAWaeAfOqetRs/dwCFBTkXihp44U10yT/MHMUVBovF3h7XAplW0hTcVnZzlrMXe7UzS/NmiYwy2tVtzOYYUY6dt8bhTb0NlR1b5OU5Y1XXAgOj0O4WLuVWxis8CosukH4oSh/a7zIsRxnvOgBjUse5y5fj68ymbXr4oikvlZjB7KzVSDGm1NWYrKksOvMqj4+3I0lfZckq1+b9WpPPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=4FdaJnhZHFCRUjbwSGkwVcBVhcAaRCPdrwgw6Q3ROfc=; b=JrV8vHQDHNYd/AtYVwHwGhMUID3i4il6ftnrbJ37uXvcKGVSu5IlQewTOnn+bvjOQBxtqeJspgCHlXgG4awOj9exJ7v/bvelrcfWohzXfxlh7VEvPbs/dm/tggKhWqUlTPSJksUR0s9AW9O3wKUAMJLLeBaLjnzH60H4ndN0Vy9/6Z5TmVzmdp5yuPGc/Vk2ptE3DSM0j11Ls+j3mNZeFot2VKJmu8dg5G65LnMfruRYZuTDa/yHjDglTXKr20r6GXe7va5BITgBhPXegV+1yXYDiWfvZ8DjuWkKkVdRUzlQbd9JTzUdAzGKIGBx9rskBhWH6zXR39VxK87Rl0VP4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4FdaJnhZHFCRUjbwSGkwVcBVhcAaRCPdrwgw6Q3ROfc=; b=eQLwpUSYkV24SNCFFUBFpw4Zwt8R4bBfH4HNUrFnRmGKuT3taOXRrCLzB7C8/XlfyrIot2q9gOiI/73Xp13hmxMKAJUXN5f3XxyFB8CFDZQSchhlHaCMQ+ZR/1trQ67aFyasOM1PEhkSqm7nVxdHW3K4QBhL/sGsoOQMs4C2h20= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by PH0PR10MB4758.namprd10.prod.outlook.com (2603:10b6:510:3c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7897.11; Sat, 17 Aug 2024 09:48:19 +0000 Received: from DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088]) by DM6PR10MB4313.namprd10.prod.outlook.com ([fe80::4f45:f4ab:121:e088%6]) with mapi id 15.20.7897.009; Sat, 17 Aug 2024 09:48:19 +0000 From: John Garry <john.g.garry@oracle.com> To: axboe@kernel.dk, brauner@kernel.org, djwong@kernel.org, viro@zeniv.linux.org.uk, jack@suse.cz, chandan.babu@oracle.com, dchinner@redhat.com, hch@lst.de Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, hare@suse.de, martin.petersen@oracle.com, catherine.hoang@oracle.com, kbusch@kernel.org, John Garry <john.g.garry@oracle.com> Subject: [PATCH v5 2/7] fs: Export generic_atomic_write_valid() Date: Sat, 17 Aug 2024 09:47:55 +0000 Message-Id: <20240817094800.776408-3-john.g.garry@oracle.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20240817094800.776408-1-john.g.garry@oracle.com> References: <20240817094800.776408-1-john.g.garry@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MN2PR01CA0036.prod.exchangelabs.com (2603:10b6:208:10c::49) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: linux-xfs@vger.kernel.org List-Id: <linux-xfs.vger.kernel.org> List-Subscribe: <mailto:linux-xfs+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-xfs+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|PH0PR10MB4758:EE_ X-MS-Office365-Filtering-Correlation-Id: 33b70d32-346f-433e-361b-08dcbea1b99e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|7416014; X-Microsoft-Antispam-Message-Info: 41JPtk0amngSqcctOtEk4GqXXekId1b0Q6OsZwcADTccH7/m8JjF2J2UkJmz6Y0307wjrlnOwBUoHFV6F/S4RfA0XM6YaEebsWwfBJ/ufi/tTP/BZhg1LfK0ow3qej/vOQ5fEm1VjmKfp6lfNyx6ZZm6hTpe1ie3IjMxTlgH6EUp4JMcSNzh7UrIn0pHSDrBrMa6rpl/uuZJhn/XQP9JfA0pk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Br3hTKPYP+UpcgqSMWuFcM2xYinAVQnfMdXla2/9uR+QWasKDZ4yxja9ZFo1ng== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR10MB4313.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(7416014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kcaXeOZL1RW1fK+LfJ11ZxsG2+q0d7nknbP3vglVL3bx1ABBWF0/di9AGCsVu8zqWM4kq0Td404xoQK2fx2sm2KBe9Vh/jaccbIVRBYjzOmGIMbXOtTF01rUjNrRgvbNVwGK1EqNivOuBTVU0IXxXz4dzifJ7pqRbkkB1M8H2c7MQZfBR8UXCoa9IRfUjojL+BDBMcP90YQKkL6p7ueyf3UL5ejQTq6er9JlkFOXbluSYKJpj9AIXAqdWCkMcqnNRiFoBXs8HvqgVrV9/jRaM2Czk/0goZhd7tMzRJLo7VI6BAW3Sa9ceo4lOWdcCSh+wNB3Mczw9r7mY4RVVjEo/luriHzWs4TUQwRshdEy1ZpNAE0rYkjhQuU+cYQlYD7bXC8moQUk9CwQM9alHsFPNmfEI0XRakMupZXvggFqrI39bP6bveIqAxiMcIS2mtf0rWFYIkK4w99Gqf31g2uwOh/BOMXTWynbvEnkAByuF6L0WArphWMbQkSFss0Y9zNg57Iusv/XK6+A81TmfoBDjZI7bXwD2QppII9X+4kiAhGfY/oN0CJzYYGVxZS9viZipqGLHERS4VdwRd5YtGY2deMG4xflrV41YZzcnUjVdRxb75NQTfzLt/K0bGfm7bicOj54H0YzP4/Fkh3eWI4bvjZaqMDJfoLlW9mnrTVQsWgtpV19Wbzf66CGddvOADJggQfwPQJLFUV42W526+0t/LHLHeuY74VelLjP6i85Br7jRax4n4eUJV9bMEW24CVIprDoA4rsffh9Vtr+NOEPmaV/VKt1aw8QgccMHhb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ZWp2lLFtuTlI0LbloNJn+tTK5BnN12Ecl7YNvThiqmvqga7ytaprFm69mtTpQ+zUl/+KYqsvCqeC4x2aLM4FTo9CqvmhUIV1S43KUQkb6pi0nS+Y79IuUdhCVcc7pzx5LiHae9qAlRqwWkmrlijZ4y7RulvhYIVzsEHx6/FzhGMsy+jbOPSts8O9JkZH7tBU44m4Z+PYKYaNcFctAXt2jVo0IPjKFsGop3oIulxIZIlgGJiGOVIhwDgyRpIcDNsOqTEyyS5+Ny2eTYFBgog1s8K4DvsQmP1oUNmWJZo46orTWvJrqAIHJhttv198tz16tgmxrVxAGo4pxurbYsgZ1BAT/ILTL+gWIWsUuWKMIilBijiJzCEv1ordB1qnJLhswO5rRbt8vbApKGRbG6k9YIT2dTzY2J85ICZqrCL/c2fLfqojoKgHc3FWvokk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33b70d32-346f-433e-361b-08dcbea1b99e X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Aug 2024 09:48:19.3891 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 2QLuAE3daQc1xw3z4ak/Uu6pfCNwGcJt0BFSMs+Tk4o9V3lq7mB5U1ynRvLgPErU1ffN8SCJrUI+C8gojIKbqw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR10MB4758 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-17_04,2024-08-16_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 suspectscore=0 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2407110000 definitions=main-2408170068 X-Proofpoint-ORIG-GUID: SfNKAJQ73vCXxAczbD4yBopie0_-aaKF X-Proofpoint-GUID: SfNKAJQ73vCXxAczbD4yBopie0_-aaKF |
Series |
block atomic writes for xfs
|
expand
|
On Sat, Aug 17, 2024 at 09:47:55AM +0000, John Garry wrote: > The XFS code will need this. > > Signed-off-by: John Garry <john.g.garry@oracle.com> > --- > fs/read_write.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/fs/read_write.c b/fs/read_write.c > index d8af6f2f1c9a..babc3673c22c 100644 > --- a/fs/read_write.c > +++ b/fs/read_write.c > @@ -1752,3 +1752,4 @@ bool generic_atomic_write_valid(struct kiocb *iocb, struct iov_iter *iter) > > return true; > } > +EXPORT_SYMBOL_GPL(generic_atomic_write_valid); Looks great, Reviewed-by: Darrick J. Wong <djwong@kernel.org> --D > -- > 2.31.1 >
diff --git a/fs/read_write.c b/fs/read_write.c index d8af6f2f1c9a..babc3673c22c 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -1752,3 +1752,4 @@ bool generic_atomic_write_valid(struct kiocb *iocb, struct iov_iter *iter) return true; } +EXPORT_SYMBOL_GPL(generic_atomic_write_valid);
The XFS code will need this. Signed-off-by: John Garry <john.g.garry@oracle.com> --- fs/read_write.c | 1 + 1 file changed, 1 insertion(+)