Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2502435pxj; Sun, 13 Jun 2021 23:30:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsirYOcZlTsdeocpcAi2e13EUuXsYE8A+Knk43YTNINhENZVtP1N6j/qCGapa5t9AwUyAM X-Received: by 2002:a05:6402:4395:: with SMTP id o21mr15392601edc.163.1623652238054; Sun, 13 Jun 2021 23:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623652238; cv=none; d=google.com; s=arc-20160816; b=dc+NgS4wfTQLlhK5o4EpwRvNud5wPFg3roTVK/BClcO/wMJxKmxdOUPdYjEoIJGGMJ T3M1C6fZrKGhXy+ceZxq7BiDuTaYB/8gfdahjz/QAyqQ0olgZ14PDAop+kjWotPbS8r2 Yt2I0PuNU5jUTtFR3ioVuanlryR366kNa+4QG43gCy74GymPs9aEhySmE47g7qqKLEYD Pw/mkNMgTSZ4mTpb5myy1urSliMxRuD46G99Ipf1VE3wX4yEN/XAwkjR2F5BtpN41m0j nGN24YTeIHbPNsWv6wpIuTQjt/Eq5LsOzE6/XMLpeRX+4QCiZloZSZlLcxOWTuJtMN3W i4fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=x6NbGgHgj1ossGyOem7RBPDReF0JPijJ2u+vwpE04U8=; b=NPqXm4AUxazZX3WywQSdkldiCwln5fph4gc2VEgSZrQ1mr/9Ixr0hEDcO2KwNxgA8w KwHdWyiaLA7WMe/Pke3G6mCRB0pOpTRjgXvq28TQ8rFjyOLayoDkqh2z5pdAJp8QQDTz RQyetFmtkNcuh3lRcr7VlmmnW31vhP3XS7bvFM95NTTUXgDbUiJ98MxgMGu6XaAIpBKd dlNo6/c5+xsbGWdqqSdcVro4Zh+z5bMcR05T15v81l4/nuymjG+laIbMHt5hMCPzc0Du 3hzaRJGqIht59vCvhVaWpJYB9j6l0zJf5HbWK59hp3L4J7KrYxt/lyv5NnvJtnFUzu2c y1Dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=O7RRK2dx; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si13026108edb.418.2021.06.13.23.30.14; Sun, 13 Jun 2021 23:30:38 -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=@ibm.com header.s=pp1 header.b=O7RRK2dx; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232512AbhFNGaz (ORCPT + 99 others); Mon, 14 Jun 2021 02:30:55 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:17954 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232516AbhFNGaw (ORCPT ); Mon, 14 Jun 2021 02:30:52 -0400 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15E63YB0179176; Mon, 14 Jun 2021 02:28:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=x6NbGgHgj1ossGyOem7RBPDReF0JPijJ2u+vwpE04U8=; b=O7RRK2dxh7JA3+gPYOYFKp6zAUfPVVixGnwMS96iV6Dc3OyjzEMI37zH3WAefGhhXW56 s8+ev43hthWJNTRazFDjQOlJGRzC+ok7Y/h8hJ9Qw7zw7Htmg7qrfWKMLnwhCTJpnsm0 K9xewsLlWBJ1wGDuZgGiEOCWiR4bOsaGm3OhhTG72Lz8hfc3VKwXbt8OgG4nNotB2Ac4 IaekDZSOlZeqXwaOcRElxdBijdJ536G92KraUI3VC03WInXAuxOfz3SBlehxmHpFqE+H zBH7KuYlyVbZe7vsEbA1fKf3HiSAbCq1irtjKAbyy5OY4Ep/ZL7IBUhQNDeXtRJpJElw pg== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 395yxg2gfm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 02:28:49 -0400 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15E6OGlZ019526; Mon, 14 Jun 2021 06:28:48 GMT Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by ppma03ams.nl.ibm.com with ESMTP id 394mj8rr66-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 14 Jun 2021 06:28:47 +0000 Received: from d06av24.portsmouth.uk.ibm.com (mk.ibm.com [9.149.105.60]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15E6SjJD33489218 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 14 Jun 2021 06:28:45 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2A05042047; Mon, 14 Jun 2021 06:28:45 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CBD2A4203F; Mon, 14 Jun 2021 06:28:44 +0000 (GMT) Received: from localhost (unknown [9.85.68.28]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 14 Jun 2021 06:28:44 +0000 (GMT) From: Ritesh Harjani To: fstests@vger.kernel.org Cc: linux-ext4@vger.kernel.org, Ritesh Harjani Subject: [PATCH 9/9] common/attr: Reduce MAX_ATTRS to leave some overhead for 64K blocksize Date: Mon, 14 Jun 2021 11:58:13 +0530 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 2lmcz6TvJeQX6-bz6pl5rn7s_Ab7uN8T X-Proofpoint-GUID: 2lmcz6TvJeQX6-bz6pl5rn7s_Ab7uN8T X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-13_11:2021-06-11,2021-06-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 malwarescore=0 adultscore=0 suspectscore=0 bulkscore=0 phishscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 mlxlogscore=817 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106140045 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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 esac export MAX_ATTRS -- 2.31.1