Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 410A9C352A1 for ; Tue, 6 Dec 2022 10:11:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234409AbiLFKL0 (ORCPT ); Tue, 6 Dec 2022 05:11:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234529AbiLFKLD (ORCPT ); Tue, 6 Dec 2022 05:11:03 -0500 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A585C27CE7; Tue, 6 Dec 2022 02:05:42 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045176;MF=ziyangzhang@linux.alibaba.com;NM=0;PH=DS;RN=6;SR=0;TI=SMTPD_---0VWfB1US_1670321134; Received: from localhost.localdomain(mailfrom:ZiyangZhang@linux.alibaba.com fp:SMTPD_---0VWfB1US_1670321134) by smtp.aliyun-inc.com; Tue, 06 Dec 2022 18:05:40 +0800 From: Ziyang Zhang To: fstests@vger.kernel.org, linux-xfs@vger.kernel.org Cc: djwong@kernel.org, hsiangkao@linux.alibaba.com, allison.henderson@oracle.com, Ziyang Zhang Subject: [PATCH V3 0/2] cleanup and bugfix for xfs tests related to btree format Date: Tue, 6 Dec 2022 18:05:15 +0800 Message-Id: <20221206100517.1369625-1-ZiyangZhang@linux.alibaba.com> X-Mailer: git-send-email 2.18.4 Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org The first patch add a helper in common/xfs to export the inode core size which is needed by some xfs test cases. The second patch ensure that S_IFDIR.FMT_BTREE is in btree format while populating dir. V3: - refactor xfs tests cases using inode core size V2: - take Darrick's advice to cleanup code Ziyang Zhang (2): common/xfs: Add a helper to export inode core size common/populate: Ensure that S_IFDIR.FMT_BTREE is in btree format common/populate | 28 +++++++++++++++++++++++++++- common/xfs | 16 ++++++++++++++++ tests/xfs/335 | 3 ++- tests/xfs/336 | 3 ++- tests/xfs/337 | 3 ++- tests/xfs/341 | 3 ++- tests/xfs/342 | 3 ++- 7 files changed, 53 insertions(+), 6 deletions(-) -- 2.18.4