From patchwork Tue Oct 8 10:52:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 13826198 Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) (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 13B902CA8; Tue, 8 Oct 2024 10:52:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=68.232.141.245 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728384737; cv=fail; b=BIV3/ewuxIUioPyBXwwZxR9ki4cFWwMrsMpv4A8uUW1a07C3txvF2oU20n4hV1oAKex9UfPQfXHCMym5gOvlXSOy6vGVcgq2XKeFH13LFlFAhKzdapBc5bvFaAeCAibD7TOeosWcAMBMI3CJyTFWpW2uciottXWxXVsD/cAt7P0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728384737; c=relaxed/simple; bh=K8fTHpcHxgym6VIF2b4ZAEp53R6hHlD96aXl+ZJ9LPI=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=YbFl3ltgeO+d0/82tClpHt4XiJoSvRedkN1Z47c9AUlM5myNBjvQQDl52pk8T7ADSEFGHN+zMqHVU4EGxOxIlB4jRlfJdlJlheHirEghNvMYEXyFOSE5gcskxobzsW+0zLHOG/CFbqOCn+jyli7D8OTpt7pUjHOOBIviZIcENE4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wdc.com; spf=pass smtp.mailfrom=wdc.com; dkim=pass (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b=ji63PmC5; dkim=pass (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b=s5gy7y/8; arc=fail smtp.client-ip=68.232.141.245 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wdc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wdc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b="ji63PmC5"; dkim=pass (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="s5gy7y/8" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1728384735; x=1759920735; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=K8fTHpcHxgym6VIF2b4ZAEp53R6hHlD96aXl+ZJ9LPI=; b=ji63PmC57oGKyz42R19WQd3Uv9cjmMERaPfUU6mDGmKJiIfoH9oFzQQ2 4mjNARZdTqIeQUazBAb05X6v8Hi7r5bY3s740lniCvxGRS0tcqvpVwuBF rFcJFJmfEXWupoBNYq0DeykooVvcDhwXdboGLesvozBlYs3KHIuX/TPwK sOnnksRH6uUr0gY6Uw28qGT2CeCIxVGdolG2HZODmB5qnCfCUwRBnZh2K W6GJx4ivD5KGZclHVuZcrXauXAUGUfSCsKAvhUhlmeRBS2LBGZZWzheQ0 2fgDaUNmm25+FXUyce7clBcdGfaTet6a0twICDmGrOujQXX2aXv59gNDy w==; X-CSE-ConnectionGUID: tMP+FXAYTxKEXmuBEOoqjA== X-CSE-MsgGUID: n7aH/lxXT2q7KeGnDlCsfw== X-IronPort-AV: E=Sophos;i="6.11,186,1725292800"; d="scan'208";a="29398710" Received: from mail-southcentralusazlp17012054.outbound.protection.outlook.com (HELO SN4PR2101CU001.outbound.protection.outlook.com) ([40.93.14.54]) by ob1.hgst.iphmx.com with ESMTP; 08 Oct 2024 18:52:07 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iwQH3h5pzGMVlERNHApSjOwS9tFZq5gik/yNJJBg5vLhRujsFCIc/J/8hr3jV0Yo8590WSedQUwb8sTWydAs7+/fPcKQeEC9B8RlbhVnhsqw9BjyT07GwS58D4r/NnYt0vWkMYFK+Yxu9o/uKCmXP03/V7pj4XhbCUV6EE1ckAWQZokiZJIJG/VnhAaZVMXQ+FcUKmmSNp7u/IqUX0A+KbHjAYH0KRWbnTqhrz33p1F8AMhoQ8p93YIqB8VUe3EfdOU3hi12IyS1ihTQji8kMX3Iu8BMoZlqmM7rBDNCqg6Q9NDqi+oNEer46SWQqHg8Z8uqT8ghgIPVts8zQGC9Kw== 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=IirUZvH/9XqAnfEkAHoJ/JS8ebi2UEz5c4IHewlIch4=; b=dz519fdDJzuN+2bAsxGPRl6/cUANPwiKBJecUOHbOflszOz6anFiRjJQCtbpLga7hv0vDKFdFpsmypanJypFf4v3ebb6odlW8S0omLJ7cZCj2tmFcFACmSvm5+KvhTtahNL5Aq5+y0gEGT3e1RmgVsIZwq/t99eGi3OneTFDtHctOBTDHTEa/rYzSFjMGyr5otQBhWPAv0aCaooRxjlOgQmjvxEyTam02rig9BI+unlMz6+d7H8x9Q0/zmchSirm4H0O/zNPIqxJPNBDhyHnrtEDnsYkMCuIqmDQ338cvxdmrEp79NNP7i5PPhKb0KIPz+tB8SKx1CV1jGsKe2sYCg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IirUZvH/9XqAnfEkAHoJ/JS8ebi2UEz5c4IHewlIch4=; b=s5gy7y/8y5DofiJ/gq200Re8qaz5xkDwe8WMiwJoQRpn+r96d5TJkNY6phDpP5WzBVOXgp6/Dkejm4jOMKTs1AuM5VFQOAKgThJFiSo7KpWqYNoqPlyLEZWjcodcZhI1BsC8HNksPGvebX+RdE9hOzue65jqDxgEyEl1IubqCyI= Received: from PH7PR04MB8755.namprd04.prod.outlook.com (2603:10b6:510:236::8) by CO6PR04MB7553.namprd04.prod.outlook.com (2603:10b6:303:a8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Tue, 8 Oct 2024 10:52:04 +0000 Received: from PH7PR04MB8755.namprd04.prod.outlook.com ([fe80::4372:e8cb:5341:9a9b]) by PH7PR04MB8755.namprd04.prod.outlook.com ([fe80::4372:e8cb:5341:9a9b%4]) with mapi id 15.20.8026.020; Tue, 8 Oct 2024 10:52:04 +0000 From: Hans Holmberg To: "zlang@redhat.com" , "djwong@kernel.org" CC: hch , "fstests@vger.kernel.org" , "linux-xfs@vger.kernel.org" , Hans Holmberg , Hans Holmberg Subject: [PATCH 1/2] common: make rt_ops local in _try_scratch_mkfs_sized Thread-Topic: [PATCH 1/2] common: make rt_ops local in _try_scratch_mkfs_sized Thread-Index: AQHbGXAcQGX8i/zoQUuJrX58FKfjUw== Date: Tue, 8 Oct 2024 10:52:04 +0000 Message-ID: <20241008105055.11928-2-hans.holmberg@wdc.com> References: <20241008105055.11928-1-hans.holmberg@wdc.com> In-Reply-To: <20241008105055.11928-1-hans.holmberg@wdc.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.46.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wdc.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR04MB8755:EE_|CO6PR04MB7553:EE_ x-ms-office365-filtering-correlation-id: 57750f83-ca62-4208-0358-08dce7873f0f x-ld-processed: b61c8803-16f3-4c35-9b17-6f65f441df86,ExtAddr wdcipoutbound: EOP-TRUE x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?rhxPT54vrmw/1nLq3kDULEip7L?= =?iso-8859-1?q?gIyGaHpup0D6KfnCIQFXWlWYvnBotuiHEUQhzPZvXXOCs82qCmLU5Pzg5MH0?= =?iso-8859-1?q?uNzi6N+obm6PzhlJMX6CBwMgHUXpJjLFugSknfZlANhh/n7g8tc4WPUP0RDE?= =?iso-8859-1?q?eUDUsXmQEwZrwcO/7VTFq6oFbiwl3JVYs7UHa7Lc05gQ2tP6Gdi6c9eBhzEv?= =?iso-8859-1?q?exeZ3G7nY9NFlGtPl4saRr+Sxl3pTmR/DaweAHS4A+xYqGt7Tf5J3dlyRGfe?= =?iso-8859-1?q?siJ7iyiAsnTyLgobs/Hk6kQcCVi2vgjtYHmyFVWFVJOs4L7trlrFVWdK6OqZ?= =?iso-8859-1?q?OxsGdaX+WebNVABpmTV8g0E6ABACkAlveuXWFjq0e4I0y58uQF/W6QmDi+a1?= =?iso-8859-1?q?Q7BuAcGH/GAj1qFV85pGR7UX3zNVPg6y+d1dVSueqjb+rmN8ZhhhZ2pNtx4q?= =?iso-8859-1?q?35U8RHt4F9BpLewCbUILMl1fNj5zPdSypKniDkKnKsmXlxhVw0+EeCbiJ9bH?= =?iso-8859-1?q?fHjeCMb9uo54mEQsYGFWDM8zExGUrrWPhd44XDD3VwXssfQe1+/l0tGxuviu?= =?iso-8859-1?q?KYRGL0SddbaQpyw4hnLD3IKJmBANrclgFYpPAXwx7yx7OLRCALAahNoyeXEv?= =?iso-8859-1?q?ELgy3kMtbNazmV7o32LfMET82rvJNsI3WLjz3fEON8oFEiRCk2IpVCeKh5ZY?= =?iso-8859-1?q?wi+PmhYRc78Jv6/D2ruLFJMnt4MfM11zGHG2PN3/xGpQP+xdFH3iXeXNUt30?= =?iso-8859-1?q?MFfsWeOf5LnAfnMAMcKD5NOwGMfhAwcJZczxiE9UVnl5F8ZfDBmK/HUtfvIM?= =?iso-8859-1?q?Ofjna2KEveBsvVwUrTbxfXoYyKCQzIZq9rwQ10zzyaz/+2jGFFZOWBxZko4V?= =?iso-8859-1?q?6TpwD22h6/cG1YFzRZ9IQD0rkIWht+xp/mzddu4tcNLFYyGtzBUNmTfX8YNY?= =?iso-8859-1?q?c96Sy64Sv9z6XZNt9LZZ5Qa5AZEp7G4Ls3AM6kPiWwJ/PTxe3kmxUVilxaCT?= =?iso-8859-1?q?HJqd5JhDH6l4cBFdLHsFTKobo0AJ5/HzZjL4xMWtYT0Cxvg6hnc6KxDqsbL6?= =?iso-8859-1?q?BDeKpJoxiFBRL6SC5bWUi+D+ZJBh44KFdS7NMKfY9EdaQqvIGLtk3L2fBX9X?= =?iso-8859-1?q?y6GWSlwVrCe+su5LS9qX6EDzr0fWOtIo1VT1lXZYXdhRORqSUJsJRACjYsZA?= =?iso-8859-1?q?bB+UDOrZwKhkMfaN2bSnF8AQ2MtK1dRmEWNHZd/VaoARn1rvLJBhKSZGy9uT?= =?iso-8859-1?q?QAaM2ZidqES6Agipb5Vxe7bRm8jYciN8s4VOc4koaC4TMcOHmlO8jw71kKWi?= =?iso-8859-1?q?CDgdL3hJ3ekwguUighuzfFML33MOGT3ueJjgbwue/ADoXDY3C64VykdrlGHn?= =?iso-8859-1?q?x8ilJFre0rcilWGYABFg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR04MB8755.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?QCl4w+w4oF/YcvfRD3q+wSc?= =?iso-8859-1?q?g9YUcoqIWQud6jeOcGyeYlQrexi+YK015cWA1ZiJBtjbuX6aFADR15G4O+e0?= =?iso-8859-1?q?6iX7d/zEmbhCMiubE8cwLKG7u8crV/FN5C9Y1QE9r7AkOMRwYajaUrhepcDh?= =?iso-8859-1?q?7sWnjDPwvAaQWtQfaU34L0O9xp8AFtHmoJ5nbqBwoo5K4olQX5Qu0bZzSUSX?= =?iso-8859-1?q?fNLTat33PpKYp00mpEYGRNmQcu29IduVQULogXC15iTLkTFunoieDnp/FWnx?= =?iso-8859-1?q?kpDJf8E1B7/cULeyB0iGm4gbKJWBpghjZoBIE0PSU4go17tbaV9Gcw4/s3oB?= =?iso-8859-1?q?OlWmUZeXf4+6sVn/fMD54jGsOGtySGaON2ZxE4KH+bv4Ndei+oeL31MUZlJW?= =?iso-8859-1?q?Zo9TPyGUEy7h3LsuCUlc/MgoI+fpBGunteU/7QViBQlU3erYUbXyxXaeo9J+?= =?iso-8859-1?q?Q/EVcanEmSnJBA61b9tn33FaS5jfoHH9MyFxw9Hokj08F3zFXwSAAJMXOLL7?= =?iso-8859-1?q?gfymp+LCxkDD4Th1bQtSyGKtQMuRcR0/CddIuUVSaq/wLGGAJg3hwb92tMD4?= =?iso-8859-1?q?Gnpt4qFZRmsGObkzEAwGgwNlDVfl5wNCzQ4JIqSVFd7b1s/03Oia7s3U39kD?= =?iso-8859-1?q?e4RAMI5HtYjZPDOn7Fsp6ehkt99wl6IwvQrotbncgnnEtCvw/io7GqP2+1eK?= =?iso-8859-1?q?wEKcuz+PGjBRpn5TyN4r7qeWaK4cxhFehdlwwPLsIsbu18YLndEzkU5HYeoh?= =?iso-8859-1?q?gQ94u5axq28RBHBjfWtoblZV+jVmjgdbtkJ1FBT488IvKpZt8N68/YJ7QEaO?= =?iso-8859-1?q?S9QuURPbGVoFADHeRuRTMBc3AO+mJVPkL4ipidfRK1WOLcyjaWNeDtwrsj05?= =?iso-8859-1?q?SLG39j/FC9ylGgGhl9jfkKrxDeGhahVF7W0JXubbG84sIrJoSBo6V8/gqpDF?= =?iso-8859-1?q?xCKh7ixnkU8ZqAUXii+C/oAhpDBRXUinTntRUmF3FRBo3f0SdVKdqQhypuKx?= =?iso-8859-1?q?nr3dlmcSziSVZyorTJA9ZQU2M3+BZ3SiJVLNqGM5EokuTc4KCestnAFENwQX?= =?iso-8859-1?q?3Njm9Fo9G3dA6S7xIfXZKXqeD7ujxhI/lvQXNM9/NozHmVuh5vTLW2rHjSoX?= =?iso-8859-1?q?LsQMvBCR7njWdOdauMeOAIS/AWKrxKVt7qsVGh/9zo5uFUWH0lhxHrzBkvmQ?= =?iso-8859-1?q?mwzRf/WqEYg6GI1Jb75BY2HMT47tNnFt2hPmuEORq4MxbxC+bGtACHcgiBd+?= =?iso-8859-1?q?CmnYasgdCTTMLl87u2MYt+nrpGt5dWhqxdOeYGyxLjC2FUsmPupYEAJ7we1a?= =?iso-8859-1?q?RnNAbaxxrRRGlTxJAcdY6OTUDdMNV9VtA/29wbmo7aN7z7cuiJO0xo6rOEoY?= =?iso-8859-1?q?F/q6d80sZR5xgpemMzF+0EWv4dtLqbBBMRhjVDjQRwhqqlOFmKJbfy3kIp7J?= =?iso-8859-1?q?NE2+gIZtmvS6dSSjG/v3gCQxpHplPdNhfGUcXKoHKBDKOBR7+0ukm74ek6gb?= =?iso-8859-1?q?qoE3TcI+RkFXYUAJmtdnpzwA3fPGOSrN+Uc2N0EkGShFlqjciwQJ7cLI7jgM?= =?iso-8859-1?q?Aox0OhW9GRbZVjrJm8+43Gpc76DNUK/g0wpR8wBRZKynHjHSpDWQbgFlyPCL?= =?iso-8859-1?q?SjWRWnHR7b7siciew?= Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: pYeDt6Xh/XmDYOuua4vrFTQfN0/4O6SPR1od6oX8sK44hOrInGEBAv8gqnl6S4ZXlvMy8q+evM5CG8KNE8ZXEiiCVqyBzZF/+CK1VPDxF8+1Nh0cpihtAxKKWDuprxI2OSd4W63R2dkWCmmUFFOZ4w/8nKdR1YlOQ2MMlTA+KuCMja3Jqdyb6c3oBo1sBDfVcxlsF8PNgPzn3E1zSyiEgZKX0UYCBD6G5wHxq/Do54hMDmiqB6ydlaxhOhqSvcVqfGJz9MFfXjmDKfHF68ycQKHOFkSPWRlK2xCCdQWR9ybS70yyrYKBQ1nqvyw2uPGjBi/MCCht746UG1pO7c3bPzp+Fd6tmio8sp5Lob+yYvZT/sLQzSF7Z2qRMUtIBnLFQFnm/kuvOio5m8+fHkuQr+YlS1ivZZTGyfPVTBhR9F+iaZ/CLXU/vTxQdjyAH18qusRDI23rcOosmneCb61QKJB1kScSkJLgMDXkBkA20U581/FfU6YvgXfjrWvcAHIoE4M9L/F5nvcMXqTXwJUzydYFc0RJh1PZpx+dfp94HZqHiYc0e7TeoNC2xdn5pStjWa07LYkZNk1CiiJ205vJ5MdqmPTdEtGpsLG/7C1DN8URMwJuGTnW2wClltaVmA4i X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR04MB8755.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 57750f83-ca62-4208-0358-08dce7873f0f X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2024 10:52:04.3467 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: YKZDWQy1ow5csh1BcR476r3D6bvSIkI2Lnp59ZMg3spFPeXozySNDPjalU6uf06pT3K9wkX7g0VP1k/vZgcgMA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB7553 From: Hans Holmberg If we call _try_scratch_mkfs_size with $SCRATCH_RTDEV set followed by a call with $SCRATCH_RTDEV cleared, rt_ops will have stale size parameters that will cause mkfs.xfs to fail with: "size specified for non-existent rt subvolume" Make rt_ops local to fix this. Signed-off-by: Hans Holmberg Signed-off-by: Christoph Hellwig Reviewed-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Zorro Lang --- common/rc | 1 + 1 file changed, 1 insertion(+) diff --git a/common/rc b/common/rc index 35738d7b6bf3..c9aae1ad0b90 100644 --- a/common/rc +++ b/common/rc @@ -1030,6 +1030,7 @@ _try_scratch_mkfs_sized() local blocksize=$2 local def_blksz local blocksize_opt + local rt_ops case $FSTYP in xfs) From patchwork Tue Oct 8 10:52:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Holmberg X-Patchwork-Id: 13826200 Received: from esa1.hgst.iphmx.com (esa1.hgst.iphmx.com [68.232.141.245]) (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 3F6842CA8; Tue, 8 Oct 2024 10:52:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=68.232.141.245 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728384739; cv=fail; b=Zw2IuokH1dKCynHoDJOPan2RjT1ul6AEHCLz8Owh3/wwTYYSJZ2D5jm5GbOxjY+DRpCyhrUmyceYV8FxWGQBrA5jfeGqVmfNL62QLeRLG8TNmtLsPqVPsHP8I7GFAzUc+n3BZTDUzdLhOpYLgy09QGA2A/HUJPVnha1a4/LsuRg= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728384739; c=relaxed/simple; bh=frpmCQa/61DcSWQKsBKa8tHrMCFPDkyMDBSNwUnXzRc=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Byx48ALGrmSqgLXVwwLv+jtfH3YA5AOiU1zR9cDxuD4n/uk20q8ygGOhfLpNizm39HVufLBZd1C/3+FhkKaUjY/JoM42pE7WNva9Vk6zvl+RHypddmK98l+n1dtODY2nFSnpqoshoWwtGt4omx5uEoNhlLfweIwf5Na/Ai+BAGI= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wdc.com; spf=pass smtp.mailfrom=wdc.com; dkim=pass (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b=ikTmpvmk; dkim=pass (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b=a2LVr+/O; arc=fail smtp.client-ip=68.232.141.245 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wdc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wdc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wdc.com header.i=@wdc.com header.b="ikTmpvmk"; dkim=pass (1024-bit key) header.d=sharedspace.onmicrosoft.com header.i=@sharedspace.onmicrosoft.com header.b="a2LVr+/O" DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1728384737; x=1759920737; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=frpmCQa/61DcSWQKsBKa8tHrMCFPDkyMDBSNwUnXzRc=; b=ikTmpvmkhCX/X/v35DHPrx99Y0BkjFhkawargYVZASDaZbvQ9/8ZJ/dH RG9/xcZQi/zcoNnz+Tayggkylwp2DHctXsfGo3zBcMV0bGHK5kquMc5Mb +OoB7rrk6SYAuJskeVkomQZUvwBiB/5oPWQKj3O7UUt6mrZcviB9EXba1 1xwzTyR2MQttW1hXILU5kpc4gRsv2+pQc0pZaX3nvo0mKMW7xlqbTdpWx QL0rVnEIxTdTdFJz5T8YQPJNS8m9KiVjTdsbw6D6s1G1XwBvqdmIpwAW5 w7XAC9AgmCcR+Vkm5WXBJRlV/n9SR8es3a+0voKqIsLcDxCyMV1HSUzkI Q==; X-CSE-ConnectionGUID: X1j82LKXQ8iz1yf5CPezLg== X-CSE-MsgGUID: zoclcAFyT8SxaenPZml2pA== X-IronPort-AV: E=Sophos;i="6.11,186,1725292800"; d="scan'208";a="29398712" Received: from mail-southcentralusazlp17012054.outbound.protection.outlook.com (HELO SN4PR2101CU001.outbound.protection.outlook.com) ([40.93.14.54]) by ob1.hgst.iphmx.com with ESMTP; 08 Oct 2024 18:52:09 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Z/krIrA/bffVAFJNzJLi3ijfPFRONIaFWQESrUXGojVBTBrXetDkGf7458dQc0W4v5HuIMaEec2/Tvp0YAvGkp+Jfe3J66bb66bbePZCROz8fkkhZhaF/hjYq7dbP3I36KouPzkq1mmsSFoV6XdboQJKCVf+rJbgkW4nw4NPI6i1ixlUqzDWTw6kFMBJZFGTEDhebwOB+1X2CF2fVq7QVESEK2tT1PIRynI/1k4AtZB7maPPSqh1eOGEttfzXs2Q91RKK+j7m8teZnzihKMmn9rwTnEB5+3/PPcBEAdb5OOX+1KlCdVgcxkiUDLkYaeqzdu1Rh+4A47slIF8DVy2Tw== 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=wMEdsm+K1Dr0vaZo1ScEcvqX+J+LrsLvq9+fiXad0ns=; b=FRH/KdbzIKv6qyLMWoOzqegRWMsQ7nA7n9X9FEg6n22P4Vfjn9vRRAxzNV4cJ3urWZ/o8xFM8rth7L1a2jj0J1jUT4Kw5541fKPUb+RcghSTiPOJB4V/2DffPMdLeBq7gXMs4EKqSXW54hqLrXOloo8uSr1k4t2uTZUHzjij6IdsIZxmpCCUTr7y8Bq7Klp1bTyuW8vtRhdz5ZZb8o+9st6wjhOAu0VcJG3j9z1yADnpFYK2fT8OdHWDGpvObE9ahujgzK3vxM830Y3jKTAB3yTiKWNWZ8zpcAmzpAfUlBMrm1UY9NRZGzHIW/Q3LdNV/RxsnDX39cWqNhoW9mofQg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wMEdsm+K1Dr0vaZo1ScEcvqX+J+LrsLvq9+fiXad0ns=; b=a2LVr+/OphhKsjYNwIgky14fYCmcgIYiq8TfHqFfafFcZp4TSmDpGuFl9G5mR6tZ121D2AO8/2OIVw8L2Ni2Fi2xKbR8uHA/B1ZoNoBOToDMcB+ASwV2W9/N1H8eSvBS9MG00XRJ/Vkg+lN32aH+6lcFEz8MiECFaeJ7Y9T/xTw= Received: from PH7PR04MB8755.namprd04.prod.outlook.com (2603:10b6:510:236::8) by CO6PR04MB7553.namprd04.prod.outlook.com (2603:10b6:303:a8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Tue, 8 Oct 2024 10:52:04 +0000 Received: from PH7PR04MB8755.namprd04.prod.outlook.com ([fe80::4372:e8cb:5341:9a9b]) by PH7PR04MB8755.namprd04.prod.outlook.com ([fe80::4372:e8cb:5341:9a9b%4]) with mapi id 15.20.8026.020; Tue, 8 Oct 2024 10:52:04 +0000 From: Hans Holmberg To: "zlang@redhat.com" , "djwong@kernel.org" CC: hch , "fstests@vger.kernel.org" , "linux-xfs@vger.kernel.org" , Hans Holmberg , Hans Holmberg Subject: [PATCH 2/2] xfs/157,xfs/547,xfs/548: switch to using _scratch_mkfs_sized Thread-Topic: [PATCH 2/2] xfs/157,xfs/547,xfs/548: switch to using _scratch_mkfs_sized Thread-Index: AQHbGXAcO8L/aUmkt06VOR0qHTTj/w== Date: Tue, 8 Oct 2024 10:52:04 +0000 Message-ID: <20241008105055.11928-3-hans.holmberg@wdc.com> References: <20241008105055.11928-1-hans.holmberg@wdc.com> In-Reply-To: <20241008105055.11928-1-hans.holmberg@wdc.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.46.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wdc.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR04MB8755:EE_|CO6PR04MB7553:EE_ x-ms-office365-filtering-correlation-id: 185d15d9-b299-44ed-175a-08dce7873f56 x-ld-processed: b61c8803-16f3-4c35-9b17-6f65f441df86,ExtAddr wdcipoutbound: EOP-TRUE x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?t1d6m4v5OoYFJlnXiLALg/Qpro?= =?iso-8859-1?q?5aN6DpY17GK9rxjCj+VG/Z2pUreC9MN7uPxG/SlZfdvC+9DdLfKtplhos7Ar?= =?iso-8859-1?q?pdbpKIxG5GgexPfsrcXXWPRcHtswJHAuqVZ+epGCptB5CoACqR6CngHOwJa0?= =?iso-8859-1?q?GDZlCttLG8G28l/hGLTqf5jXi0Uoy4WVq3rWBXw2BULbNt8Z+x+PuZjPwYIl?= =?iso-8859-1?q?ZZzH3wgQUiiEK7Z4tIeQAAF8f8kKl6zEiHJZqNl00mTvhHJ0XO8S+ZsaXFzh?= =?iso-8859-1?q?d38JBq5RlOXQg68OLiOxiw3Z4j362BkKHWiE+I/rfeU+IHFCvpBkeDxfo+Ec?= =?iso-8859-1?q?h7PLefQNN64GO8CrDqkmbO8kGTodfSNI/kNnurU3gHe/0WKZ3zxxOpSd4SkO?= =?iso-8859-1?q?Z4+niny88OSHmQlfOXw0vWX57pjU4IiFucwwle8MGgpp3D3Cj88pKb52ks+W?= =?iso-8859-1?q?CxCsZ8IlDfhbBvnxrFcWk6FZrDrMYyTECRL17PVzEixLhpdx6BKT3E6EPSXg?= =?iso-8859-1?q?WgevPffp9ig+IwckmHLy8muELsUWBFpnzEABDTG/BcMyUqy9fkCHNaA0bdmo?= =?iso-8859-1?q?pFj9dha8bNoWGyEKlEht6q+pFcSHHgZQ5AI6NwvQPrX0JiZu34BFqIqqsWGo?= =?iso-8859-1?q?1xPQV5DAINRrjrJUEYapCtubCoW3lov6xEUhtrs7ThTOOjc7N5FnLImrFzxp?= =?iso-8859-1?q?K6p7iG/V2FcpuIDA0ErDsXu1ILanb/5mWPVpyRc6YpSzzx2btjCrBvcooIyr?= =?iso-8859-1?q?bm7QFjPMQ/I5zdStd+LL3d0dzay4mH0apwMjginY1P1m5rIggxx00n7dKNRl?= =?iso-8859-1?q?pyJcn1SfmR1X4KWfr6S7SbIcL7hD2hYmo2JLZsEhDOAbvRYMuRngGrMT5Cad?= =?iso-8859-1?q?FfXN1MOsGjL7NSlrXZKBYy0/MAfrEM7essJiFuKfobyKjglDnvEDOY15ekOp?= =?iso-8859-1?q?bxTPmzkmx8C8nFiu0MwMXIA8X5Ezuya5Q2rlQ19AY8rPxAuepkNjj3TKlmg4?= =?iso-8859-1?q?LSAMIBl8LM0wFsFdxH3ZdXCjg5edzz81VI2V0rlB5Njg7drJDEgwI1uzAezk?= =?iso-8859-1?q?Cha/NJnjRtjzzhNi6isVWg1A02gv1W5ksdv1OCXHvxZZATL6yZuEoY+6N77s?= =?iso-8859-1?q?NEvP9aRU7y8A1w1fyTJ4wQ2oIfPeRImhNTEs/AwdZFfJR0Q0MwCaQGnnJqN+?= =?iso-8859-1?q?3tFumF0zeDdyO0NrIswjE+Fh9SbkUYlDfthIIxeK2oYttY2DwNWvHp9NXojz?= =?iso-8859-1?q?c9GnDKC0TyPKoUpuNZM8itOAPcL3U4JmUxKnAgOY/Trob7+a9mzHivMA5ono?= =?iso-8859-1?q?grnXF6tszxkDKDM95ULS8HpgMuXGnFqAsFywuYP+9X5RWMkfb5w3tFDtzOaR?= =?iso-8859-1?q?bh+aCBXxCe3hjwmMWVUQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR04MB8755.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(366016)(38070700018);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?EnpdhkJs4S7ugXj+Rpx+Ee3?= =?iso-8859-1?q?fFT5prYSkzbSJDBlasEjdWjl08g8Xbu1R3/T9jD+8qg1Erj3ahR+UNnydL9X?= =?iso-8859-1?q?HrySZwZSLgZEU5nv11mlXVdFWtae3YKCpnJ7Y/ldjXWr/0vdB+R7qEWbWWHY?= =?iso-8859-1?q?Gm51Mgnp7mhLZ5DWqZIi+FsxFBY4fItxXpHrTtv+qujLH5zZeigFtMHLTftr?= =?iso-8859-1?q?vyhw6qr3dy3RzrkLuRMm++SDh6HnLQ9HkFriV9cIxgujt2FTz/nBe0ybVVi1?= =?iso-8859-1?q?30nIU7yuvxohr3g/Xdvoq1M4uodkCRtrCP6YVDkh6W/lBLKs0ZRLt5f6BoEz?= =?iso-8859-1?q?AzsN0Bcug5HO5ehVtfb3Z8Q7OSETSVlHrlKvxbwuWozkKdOCxEw3OeTq2xDp?= =?iso-8859-1?q?c5C5babj8vhX6+Xou0bNMvY5V7bgVCz8JwgvKXxTVg8OvTB2aKo8k0Hv+jHz?= =?iso-8859-1?q?vCs7epl4gJLhcRIKNcskwjKDDfDetCUWJJ+fFW1tg10T1xcxEqicleyJ5Ziw?= =?iso-8859-1?q?jVgF5RZ1l4hSy6RKVM1eABSVdR6/RQLF71ievOUEacHtk868qUtq+nzmGMef?= =?iso-8859-1?q?81dh6UcDvjJSu63QeNkzEpkKTmPjuWVLvi+kPkxsRg7gMZ6SttVDP/kvfc3P?= =?iso-8859-1?q?McRGEHGCyMCuzcq41O7cSgIyuTwK8Syg43dhJ7gizmc7zRAdtcw1tZANdEu3?= =?iso-8859-1?q?UDm9vAsBojnmoqrr6VyHwRAG7L0+FmFzbENkt9470ipWYuhls7s5hteX/Jdy?= =?iso-8859-1?q?mqwKdIKMlMXkQxKKrxlqVvqa8JY5mbdG/WloxfgHsGqUzIzN0us3t8RtTtXU?= =?iso-8859-1?q?hFcHO0y2gjJLvsK3X8HMRdNrCi4/4FuTy8m5gzE1UJZPBZbnNhsfJpsZAHY6?= =?iso-8859-1?q?hqneRMrUbg2+fZqk/SUYvWO/BsMxfNpXkx69iQKxzRFa9vn1Y7Q82Pprtqw4?= =?iso-8859-1?q?FERVva8oq0EX5phjKxeX1or0L0+JY+BlUYJ/ktYjMsIhU0RWYyO8oFpvsTtu?= =?iso-8859-1?q?WP4c515fVVZZWhhCjYupOpisAlIuLjUdzl+6cDLobe61Jnm6YLx2Cb2SCoqM?= =?iso-8859-1?q?tFeo1l3OdQlDItXag9C0nPlbuMdsqwnJ/Xv8FHH648hPCG4cLlMDEHrojBlq?= =?iso-8859-1?q?dge2UeWYTLnuSapxPNEJbCAx9SC6DOOrDlPog9STjr/B5wmbhlCzUvilQvsH?= =?iso-8859-1?q?YtqYal4zffgbI9WuHPO+ehbkpPZScsC/tZkgIzM3IaJxuAh/V/us9pSWSoek?= =?iso-8859-1?q?ZYjyctZ08iMk4JBWnoeC6OJfkXMJfMf2Sr0mHY65vEXaY2VIuBhh1EOeih3K?= =?iso-8859-1?q?wP4uovPBgbD5T09gQalXf2Bj1MfCGaVcfqXYZAdHoAxOqp5XvU6/wbs7JPUO?= =?iso-8859-1?q?21HeWPMi3EkcRwf9RLLllAcAhZUZroViU1SIRDIiTd/jyhjJYWggkFkAhfWb?= =?iso-8859-1?q?vTNnJG4b/9NQtmsszdDK+kWN0IPsE3s1PWPnlRoHWtxxWG/+x5vpsM+0/Mxd?= =?iso-8859-1?q?r0+ai5flWoWKT1X1OlKLx4lNg7UuZBhRCJqeJ6jr4mCTkt0GakceerhbbR/F?= =?iso-8859-1?q?e1tFemC3gMTyGaEr4wsrQoA5AldBzIuuVsMbwz+j09lpUDuMZtRejgkJ99M0?= =?iso-8859-1?q?sF+s1RQRzyjhlaXbQ?= Precedence: bulk X-Mailing-List: fstests@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: mOmZJi2b9w3wVVrgp1lEdNIQEwyQ1YhAMSTH90qz2l3sYVsEdnifx60S2XoK+haP7fHxuGeRmoi8sb94t2ADbZ/WsWpWmduNETXTQ8PjbIJ0UQZ4K77SLK9jLZMYxcxa6GSkqElIfzdHtDi/PBznPxN61NJ5fK4XaBu+gywQEBwahkEhO//MZimP/y3KEnzyAbpgzqchNf+NKr6Tsx6DE4NIUM0U6Bn1Njy+KO8/sYUEPXZepVHENJBx1b/+BdsiLWlNsrflX5Z79wDEgLRPKahp0IL8J8mGylA8o1QMMjpfHMY8ttORAi5J8nvXVfDgJYskJ23TpAnPeb7rtqSV2GgvAvdNkvZZdqwo+f8krSSVdmO429MYsor8uZP0+H+UGfnaqiAlPp7H57LAcNjwlR8RNE2py9QXm2vjxwJuiqEjFM3Qoqyb8EH7uZT/b0uv6wLlQ6a9QMitz5wKixCZ2jXVkkfqhUUc+3whXzr9WaxQ/B66rOROo7djLCqx4BHEPO1vBUal8oWx+/qr8h8/2iTSdBE6VfVfAcSbn0YvqGUyNU3yqQJUi3Yz2uMLZXeLnUCRBgaN5exoQOqWKjKpXmiKt+gLutF1yusuJ+FSG5YWwh6cy0tVlK9eqySIWN+0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR04MB8755.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 185d15d9-b299-44ed-175a-08dce7873f56 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2024 10:52:04.8600 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gYf9Lzj/rOP6DBQt6tBnT3cRxG+BkyR5Vueozfs6omln4gSIZ1YwNST7HDNxtUrJNhNaG3NWfXzb0gyZ5sjdVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR04MB7553 From: Hans Holmberg These test cases specify small -d sizes which combined with a rt dev of unrestricted size and the rtrmap feature can cause mkfs to fail with error: mkfs.xfs: cannot handle expansion of realtime rmap btree; need free blocks, have This is due to that the -d size is not big enough to support the metadata space allocation required for the rt groups. Switch to use _scratch_mkfs_sized that sets up the -r size parameter to avoid this. If -r size=x and -d size=x we will not risk running out of space on the ddev as the metadata size is just a fraction of the rt data size. Signed-off-by: Hans Holmberg Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Reviewed-by: Zorro Lang --- tests/xfs/157 | 12 ++++++++---- tests/xfs/547 | 4 +++- tests/xfs/548 | 2 +- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/tests/xfs/157 b/tests/xfs/157 index 79d45ac2bb34..9b5badbaeb3c 100755 --- a/tests/xfs/157 +++ b/tests/xfs/157 @@ -34,18 +34,21 @@ _require_test _require_scratch_nocheck _require_command "$XFS_ADMIN_PROG" "xfs_admin" + # Create some fake sparse files for testing external devices and whatnot +fs_size=$((500 * 1024 * 1024)) + fake_datafile=$TEST_DIR/$seq.scratch.data rm -f $fake_datafile -truncate -s 500m $fake_datafile +truncate -s $fs_size $fake_datafile fake_logfile=$TEST_DIR/$seq.scratch.log rm -f $fake_logfile -truncate -s 500m $fake_logfile +truncate -s $fs_size $fake_logfile fake_rtfile=$TEST_DIR/$seq.scratch.rt rm -f $fake_rtfile -truncate -s 500m $fake_rtfile +truncate -s $fs_size $fake_rtfile # Save the original variables orig_ddev=$SCRATCH_DEV @@ -63,7 +66,8 @@ scenario() { } check_label() { - _scratch_mkfs -L oldlabel >> $seqres.full + MKFS_OPTIONS="-L oldlabel $MKFS_OPTIONS" _scratch_mkfs_sized $fs_size \ + >> $seqres.full _scratch_xfs_db -c label _scratch_xfs_admin -L newlabel "$@" >> $seqres.full _scratch_xfs_db -c label diff --git a/tests/xfs/547 b/tests/xfs/547 index eada4aadc27f..ffac546be4cd 100755 --- a/tests/xfs/547 +++ b/tests/xfs/547 @@ -24,10 +24,12 @@ _require_xfs_db_command path _require_test_program "punch-alternating" _require_xfs_io_error_injection "bmap_alloc_minlen_extent" +fs_size=$((512 * 1024 * 1024)) + for nrext64 in 0 1; do echo "* Verify extent counter fields with nrext64=${nrext64} option" - _scratch_mkfs -i nrext64=${nrext64} -d size=$((512 * 1024 * 1024)) \ + MKFS_OPTIONS="-i nrext64=${nrext64} $MKFS_OPTIONS" _scratch_mkfs_sized $fs_size \ >> $seqres.full _scratch_mount >> $seqres.full diff --git a/tests/xfs/548 b/tests/xfs/548 index f0b58563e64d..af72885a9c6e 100755 --- a/tests/xfs/548 +++ b/tests/xfs/548 @@ -24,7 +24,7 @@ _require_xfs_db_command path _require_test_program "punch-alternating" _require_xfs_io_error_injection "bmap_alloc_minlen_extent" -_scratch_mkfs -d size=$((512 * 1024 * 1024)) >> $seqres.full +_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full _scratch_mount >> $seqres.full bsize=$(_get_file_block_size $SCRATCH_MNT)