Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp838994lqt; Thu, 6 Jun 2024 23:07:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUkX5N68xtyoWnrrT3pbWE73z8uI4GlUqrEMnp9xoIqKit1SYVxePZmi02jMDjQ/EAhRGFd+dbNfrCSLBAppJK4TfMUnema30AqEQQoCA== X-Google-Smtp-Source: AGHT+IEo8AGIuz6+f90icfvQbVm2vna+/cCkThcgza/3ceraUjZ1rqer/Vf0T318U7rulqt7gEY6 X-Received: by 2002:a17:902:e84d:b0:1f6:77fc:87d9 with SMTP id d9443c01a7336-1f6d0377209mr20044165ad.53.1717740463918; Thu, 06 Jun 2024 23:07:43 -0700 (PDT) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6bd7e6428si25159725ad.434.2024.06.06.23.07.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 23:07:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=iA+SLFLL; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=otqoT5bf; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-205437-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205437-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id F094AB248A5 for ; Fri, 7 Jun 2024 06:05:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3E8C014F9C9; Fri, 7 Jun 2024 06:05:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="iA+SLFLL"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="otqoT5bf" Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.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 3779B1BC2F; Fri, 7 Jun 2024 06:05:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.165.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717740321; cv=fail; b=o7Y+vVQBy5zlcqUftSkZBeZappU2tasER020w2Slpfrh69kQtob0NnIgnH4blVaSvEmB7nM4EVMQNuyqL5v5ZRuCW7dUbwsRItCxVHBg6vy52XYY/fu/N5DhBQcgIKe9lz2bZonbBDUZ+JLllSM6C1E3/npWgRCYutOK69koVzM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717740321; c=relaxed/simple; bh=NF8Jmj190NCcWPHq8FBmCFh9TptalBobL306GBuHN+w=; h=Message-ID:Date:Subject:From:To:Cc:References:In-Reply-To: Content-Type:MIME-Version; b=aFhvgPuEbUhMT1neP+18NwLQ/La3Od93fUOU4Fsf52qOTkMP8nNf3OkxWpMoPUHEcFWgcALenrV6TXIx76aBkv3+6MaFt4GgVcVPi4djhxb0AxGHFs0XSt4wsr+9R0jnBgG2CE4Ahd2qIF+iaFVLCeklXmiqh2OXfqWnV2dUBSc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=iA+SLFLL; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=otqoT5bf; arc=fail smtp.client-ip=205.220.165.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 45739b5F014978; Fri, 7 Jun 2024 06:04:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=cc : content-transfer-encoding : content-type : date : from : in-reply-to : message-id : mime-version : references : subject : to; s=corp-2023-11-20; bh=eFKepE1yKUOKvbeElfXhnXFBdRK/fyvKjMuSE8ZLEEg=; b=iA+SLFLLfn4OznzUpI2+dUIdOQCENz5PCFnRqhU5EAwx6+uicMTTCE/czhWGg6uCRUXX UCQmHIMXKzt4VwNgB5DDir+2gdzyl6rkGiHNhdr8MOFqpyO8g7mCOxxlJesNvOVV/r0r ZsAWZjt+YVx3s8mgDORbov8ggMF/BhJuOwZoZfwetz49RmR/S73fct+1wDrSODmmUWON SXRjJ+nqNv7UjReSzWEctxRy5ea/WypMWCbJhq3JZHAuYSH7ynOEKEIXOshsbZc5nP4D swpudX1aBQfTJr+tQNGbexkVV8EBQb9zgstd9kgLAH25il/IBuRDCR50mypJQqTm3tu+ Aw== Received: from phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta03.appoci.oracle.com [138.1.37.129]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3yjbrhcyd9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 06:04:56 +0000 Received: from pps.filterd (phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 4574TL2M020564; Fri, 7 Jun 2024 06:04:55 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam02lp2041.outbound.protection.outlook.com [104.47.51.41]) by phxpaimrmta03.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3ygrj64cvh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Jun 2024 06:04:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ld4y/G2OnivwKs6I3fwc2aV5kDuBWktlsK7JaeHUqa1iLW4iDpYcE1q68qJ3tH4q3zxuT4i/ukabUnrRMdwX274/4qHnbQK1TrlYE11zhUyi8LweViDuBe0c69yp7Ih3qLr+LmEaMMtyiHs2GInp40zqnp+1v/bLouBy1zmNknRjpmOPYtaskoHTMuIpB5rUTRqxINpaZHWqH7w24TR7ZovtfmSeqHpqRY0hXPqHo47gfrhUEF+ooplSb1nEV8eubfPxYM9myo3PGmZ/Z1UhzeeTvwB9hfuINJmyfz2oXP5m6Bajrjjp/HVQS7Lgn64zwpb1FxVQ8odoCvvyCbeoQA== 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=eFKepE1yKUOKvbeElfXhnXFBdRK/fyvKjMuSE8ZLEEg=; b=JJh/X0jD5lYCpKONWgh92noqMREZNyNeEgttoKaWGlM5owzy51l5iwCLcrQa1raZhbHW42qdceo9pmYWZ3BPFH3yAttzzHSGfDwJnKLvFvpjjq5uNq87BG34zyLxErFbUuMTo9OzaGzvDzHlycgxRQ7o5CK/ZygTHpNHze4SIoUoq9Mz5O06jhyOkIms56zuzssvRfKgaZNhU5rnNcavVr0YEA3msRDQ2EnCqT4728hhKlOcHt7EvL7xh1TBonwsvWLwg7MlQbBqFpTuWxQZOnI8XyaNVs6q3NOkSdLL9pCKYDZtQf+QWOwk074R7FpguS01MobTuryv9UXDUaZfEA== 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=eFKepE1yKUOKvbeElfXhnXFBdRK/fyvKjMuSE8ZLEEg=; b=otqoT5bfG6BcQ5Kx8JXb7V+kR1S1VyFhWOXCTKGqDsr/Ful4CIho0b8ILwdSwbCDDGLo89JFAomY4d3TOqGcGAE6oq4IMchVxe1Uq7lzgfPp2Ngdbw18Ds1Gi9OEAC4zR+NUeuoGefFTvgDneJpO1xaJ7RBrZzQMv44jwDYOJ44= Received: from DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) by SJ0PR10MB6423.namprd10.prod.outlook.com (2603:10b6:a03:44d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.33; Fri, 7 Jun 2024 06:04:47 +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.7633.033; Fri, 7 Jun 2024 06:04:47 +0000 Message-ID: <98828510-8eab-4a82-872c-6643bef06da3@oracle.com> Date: Fri, 7 Jun 2024 07:04:41 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 07/21] fs: xfs: align args->minlen for forced allocation alignment From: John Garry To: Dave Chinner Cc: djwong@kernel.org, hch@lst.de, viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz, chandan.babu@oracle.com, willy@infradead.org, axboe@kernel.dk, martin.petersen@oracle.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, tytso@mit.edu, jbongio@google.com, ojaswin@linux.ibm.com, ritesh.list@gmail.com, mcgrof@kernel.org, p.raghav@samsung.com, linux-xfs@vger.kernel.org, catherine.hoang@oracle.com, Dave Chinner References: <20240429174746.2132161-1-john.g.garry@oracle.com> <20240429174746.2132161-8-john.g.garry@oracle.com> Content-Language: en-US Organization: Oracle Corporation In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0299.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:196::16) To DM6PR10MB4313.namprd10.prod.outlook.com (2603:10b6:5:212::20) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB4313:EE_|SJ0PR10MB6423:EE_ X-MS-Office365-Filtering-Correlation-Id: 839d032c-44d0-4670-14db-08dc86b7bc23 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|1800799015|376005|366007; X-Microsoft-Antispam-Message-Info: =?utf-8?B?NmJiMWpuMExDMVdPbFVsZlU5SWQ1ZzBEMXRFc2tQYTJrOUtHVXhPcll3YjFa?= =?utf-8?B?dTZYYzAxQyt6RzZDUmlrOUxydWV3VUVjMUR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.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(376005)(366007);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YzRVZGNacW5vN1ZSd25YRy9lZWNPNGErK3pnR3gwbDRtUjNtNjVEQXl3SEVP?= =?utf-8?B?ZGtLdjlQRU1FSEpzaThEcFRzTFdCcElBUDEvZ1ZCNmxHdG1NVjJjcDdGaWFS?= =?utf-8?B?TUNxd1VKYkd1a01pMmEvUDhuaWdiQ2ZlY1pHd1JYcVA0dzNHQVNmZzNNVkRh?= =?utf-8?B?R0NhNWdSMFpFVmlBMS9PNk9oV0h2WmJ4VDNPNzRIY2VLbHNST1NhdnpTYmJN?= =?utf-8?B?amwvYUIyV3lMK1ZmcUFPMVFGNE1lYzBuRlJwRFlKY0Z3Vm83ZTN6cW14NjZu?= =?utf-8?B?Ty8xYUFRUEpDbTE5ME8wd2R5YnJvWUdQenZyeTBVUXRKemxIbUo1eGZGdjRV?= =?utf-8?B?TEF4RFQxYUZndjRHTllMS0l4R3gyeVY0NDVqSU83REFLYmoxQ2VhbnFqY0k2?= =?utf-8?B?ekhKd2w3QlhVT0ppTTV0b3hoUTA3WW9sb1lLS2NDZ3duYkpNSFRxQ0phb0Rr?= =?utf-8?B?bmhBU3FmL3ZWUXlPNDB2TDQyL1hUQmdwYmpSS3BEdncyb280WWhoQndONmZv?= =?utf-8?B?Y2ZsbTRhQmxmSjl2Ty8vMnBGbitTUVRWRTdOclJhR08rUCtwSVJTVFhjeXVn?= =?utf-8?B?akx4ckQ5MlpsaVJSQWZES291S0JORy8xQklVd0JLTXV0d1hyZS9UUnFxKy8v?= =?utf-8?B?ZHBvYzlqQVhjY3plWnVmWTNXeGxMYUM3bVhqUkFLTGFLZ1NqUlBEM280ends?= =?utf-8?B?VGhWYXpYOVhqVkNxRFZoOVQ1UmtXTEhoUXZnNEhiNWlQQmpUd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+ZX5DgjC/hyu/eqn01sSKlPsHgfnhQsrP+ktIQ4XkCPdjZvc0FtvCqpeiHcju2pIoMtI4NJBtl3MfZ7Nfnr6nWLptVfSgvd8KwPgcnDtC3DsB0Qc23fVzHVls8yzOnxL5n5V/3IgRMxa1/l7R7Jjf4n8L/3pE+/9FtPh3liq3AdaL6TiuP1MJcPAkBp7PaPh/SL4+5MpsYYl1DGM5k= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 839d032c-44d0-4670-14db-08dc86b7bc23 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB4313.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2024 06:04:47.5714 (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: hyP0l53iccTCigll6ma8P2FE4IaBDTH09xgYoGV/z+Sn2BRRXLXTMsFafcbSSmHii/LBj9Qy8wOvC8zEEG9WMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB6423 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-06-06_20,2024-06-06_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 bulkscore=0 adultscore=0 spamscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2406070041 X-Proofpoint-GUID: 9gER1G0bbJLBtEX6W96Y5BKguC6oupY9 X-Proofpoint-ORIG-GUID: 9gER1G0bbJLBtEX6W96Y5BKguC6oupY9 On 06/06/2024 17:22, John Garry wrote: > >> i.e. why didn't it round the start offset down to 48? >> Answering that question will tell you where the bug is. > > After xfs_bmap_compute_alignments() -> xfs_bmap_extsize_align(), > ap->offset=48 - that seems ok. > > Maybe the problem is in xfs_bmap_process_allocated_extent(). For the > problematic case when calling that function: > > args->fsbno=7840 args->len=16 ap->offset=48 orig_offset=56 orig_length=24 > > So, as the comment reads there, we could not satisfy the original length > request, so we move up the position of the extent. > > I assume that we just don't want to do that for forcealign, correct? > JFYI, after making this following change, my stress test ran overnight: @@ -3506,13 +3513,15 @@ xfs_bmap_process_allocated_extent( * very fragmented so we're unlikely to be able to satisfy the * hints anyway. */ + if (!xfs_inode_has_forcealign(ap->ip)) { if (ap->length <= orig_length) ap->offset = orig_offset; else if (ap->offset + ap->length < orig_offset + orig_length) ap->offset = orig_offset + orig_length - ap->length; - + } + >> >> Of course, if the allocation start is rounded down to 48, then >> the length should be rounded up to 32 to cover the entire range we >> are writing new data to.