Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp433815pxv; Wed, 30 Jun 2021 08:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHE3rVL+TQb+QBTLeK139sG0pZHwulcMYMKsjNzf1U7nPGOCCOqmK8BzEUaAm5mMKBqme4 X-Received: by 2002:a02:2717:: with SMTP id g23mr9425791jaa.66.1625068352506; Wed, 30 Jun 2021 08:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625068352; cv=none; d=google.com; s=arc-20160816; b=eRBajS66LD3YUddtOow+IUu9nxTJHKNCAZhM3pC6EEOdPwLMgAZPLmyHbLwy6K5G65 OLpNrDsSPDNK2D1MW8Uy6AP01pKE6Bq6JY52+exZZcpKB3g7VqBPeiOVn20vvXA8qvxI +NFd5mrRrsAIaf1X1JiusJ5cnpXQEPI4UGEZg9tXYQrfsPPukf5yIqDo7KzVRl2vHz2o yiJOqzX2XXd6hYPMsEyawuhHmY9Xo/aYwOXUf7rp4UIb6Pj89sVVlWACN3yfFEkBfhIU MnAqE6TzUzr6Saa3Hwk52LbwwgYIvZIZI2B341fw+K495ikJtR9nvCQMRPNUGXYB17ky pTuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xjlXQvazAJACwyHOtUQJp+5/I2d95s2/oVewJqj4Kck=; b=JRoYzbEfgFoMAme5GyJAXqyqbCmAGs5MRcnNZ1sKujx99Qg6lJ0AZpCV+5RStTYuUD kv+0eYx/NgtUChZ/C4vKhb4FUCD9iEEmB4B7zhwBKudvp7lL29Ei+GJuYQp3vRMLp9H9 q/KJzK+G84X5Oixg75wG4a8+NhzVhNbNumoKA/PmxEDwANN7cbkIbaqpsvecYqNOcDUQ 0zbOMq1l2elgf89zo+K/Zi9npXCVMjxc9o5w2qbG+8yKWRhpoCS4PS9mrSjoeCLz4nlv booG4/CvLQ+ouO7Vx346kKU+r99qGbsLxvSQWpNvHg97MQq4KpJAzBwfZARc45IGaosS Dgdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pUySNyTx; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p19si24916293jas.9.2021.06.30.08.52.14; Wed, 30 Jun 2021 08:52:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pUySNyTx; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235836AbhF3PyT (ORCPT + 99 others); Wed, 30 Jun 2021 11:54:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:59872 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235726AbhF3PyT (ORCPT ); Wed, 30 Jun 2021 11:54:19 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AE3D5611CA; Wed, 30 Jun 2021 15:51:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625068310; bh=7fhf6pxUaSFPwZo50RxCo5ZCrh3FKIYAtt1Da5hj71U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pUySNyTxHDI1iiQSxUcfoQPYKNDrn8ufSTuTj2Bf93zvp5F0m4wsioKZvLDqXAFcx KuTqdVwo/io0G3CcIfRcIBJ2xZ+MAlxHj19bIgsPJjVpBhbTfz2MXe8PIy/yTy34iG 4Srv/tjXZLubB8UIh4Q+VcAVt4nT8ZNGnZXuYo+5C5V2saOagm11lTwFiMRjg6cmfB NEQeMCMcxMgr9CIYr+5uwYzEVACyDBCclAxU42nKg5/gE32IfTP3lFm19QGmmt7qBr ethFX0wR4sTd8Ls6KecTlA6Wjcit18FK9vrYmLKhRRfTB/ucqTEMVfHu2KERWRCI9Q /W4l5NIlol/lA== Date: Wed, 30 Jun 2021 08:51:50 -0700 From: "Darrick J. Wong" To: Ritesh Harjani Cc: fstests@vger.kernel.org, linux-ext4@vger.kernel.org Subject: Re: [PATCH 9/9] common/attr: Reduce MAX_ATTRS to leave some overhead for 64K blocksize Message-ID: <20210630155150.GC13743@locust> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Mon, Jun 14, 2021 at 11:58:13AM +0530, Ritesh Harjani wrote: > Test generic/020 fails for ext4 with 64K blocksize. So increase some overhead > value to reduce the MAX_ATTRS so that it can accomodate for 64K blocksize. > > Signed-off-by: Ritesh Harjani > --- > common/attr | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/attr b/common/attr > index d3902346..e8661d80 100644 > --- a/common/attr > +++ b/common/attr > @@ -260,7 +260,7 @@ xfs|udf|pvfs2|9p|ceph|nfs) > # Assume max ~1 block of attrs > BLOCK_SIZE=`_get_block_size $TEST_DIR` > # user.attribute_XXX="value.XXX" is about 32 bytes; leave some overhead > - let MAX_ATTRS=$BLOCK_SIZE/40 > + let MAX_ATTRS=$BLOCK_SIZE/48 50% is quite a lot of overhead; maybe we should special-case this? --D > esac > > export MAX_ATTRS > -- > 2.31.1 >