Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp141394imn; Tue, 2 Aug 2022 21:22:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR49NoOtgO3r5ypnk+CpLDgx3jXfxinaSoQTh4g4fivVUvtjEzWohJ+icQMr96TdDJcJWLu9 X-Received: by 2002:a17:90b:1d10:b0:1f0:76f7:d154 with SMTP id on16-20020a17090b1d1000b001f076f7d154mr2977407pjb.79.1659500568967; Tue, 02 Aug 2022 21:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659500568; cv=none; d=google.com; s=arc-20160816; b=NEsVbQnqWbxZqevt/6vC/SI+Eq9tU0DdZ+bbSLkfDNKKz0/P7EOgBXwF/SIQWriDMm jqd4QXJlnJI6HCRlSOlhNFfZKQOh7ZXqNoyrNoF/9CpJyS3wWFfuwK/UbiHRyn0GcquV tiqZyjh4zn3qPLAX4J26U2UPqDOyTIkoNcmZhWLf3t62HOJ1j0PldEdQFFGInIyx6Z0c s2iFbG+a/qYx1Qe9Gpt+Zb5Z4KEFRzhgJzA/PrlKJLZCg8Bon4nliVG0uZ1j37PGO0Hu Dl5leK/zMIGCl9UK0MAYYFpEsdNiUOisT0iW3uZYVwRxTED2TDxhQhikgNqy+Rcx6gop n5Lw== 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 :user-agent:message-id:date:cc:to:from:subject:dkim-signature; bh=FVw8GXn3tha3GbQ2uoKT1XBa3xLZpwl2vAIhbonmA28=; b=FSjYz75af/s2Zc9lLHIS1BkAu+I436MavnsD6Tckf3XWPxPecLAV6DgcgL008lmpw9 cfkYi6+1Cg/weEqBaMUZ85jAP0xp4Nw8ujqPPTJI1zxiq6qN1rXlSXTNbQ/8X7p85tRP jVTMuqrkageKaFMaKGuhtMHxW3t4twRJuivysh+MLQwc3w9CVEDYlByeeSUZLRWek9Ar oJIPORZggtsnGsRwNkuTmGCzhZ5Uw1Rlkg1DYmIY2LDWqob9IZ9jpMxpKtRm06Db/Fc0 F/vSePxX6wf/vq1i9C7SMBL5aRKhnzwKQ1vqsI/4hsaXjcsPyOnE8U3piy7BmqKxhiI2 sv4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r3wgEg38; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j63-20020a638b42000000b0041b79cac307si11860811pge.111.2022.08.02.21.22.33; Tue, 02 Aug 2022 21:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r3wgEg38; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234259AbiHCEVn (ORCPT + 99 others); Wed, 3 Aug 2022 00:21:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233759AbiHCEVm (ORCPT ); Wed, 3 Aug 2022 00:21:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16A9954656; Tue, 2 Aug 2022 21:21:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A5FAF61248; Wed, 3 Aug 2022 04:21:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B873C433C1; Wed, 3 Aug 2022 04:21:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659500501; bh=vSQ+I1xXkODt6Z1EvH/2VdXQQAfxeOxP2NCCVMd6tv8=; h=Subject:From:To:Cc:Date:From; b=r3wgEg38sz0WakcWKFORQdiUnpNKEyvZ4DRQwt8g1M4RdOU79lmvEjl8dJ4HE1fiW dpj+EF7aLANcP7yGieHMi5VSDahZc4/DhwmIyoCWITmtVO9VoaiaYH7GF4rqNlkdKx PvEermeODIF7upcxUAU75n4F0F0L0lNQ4Q1naDopglXjKerqD0+glkppr6Ql+DfgeX /7YTSV/3LhTf3c3t58NubBrxhF72FnYv0FwLcS2Cx/sOiLJGPsK7ZlFA591DWM95nO IC8w3bdCkCERsT8d1C9t5WUXfN48MkKRS0JjPzA0ZIPGLp8+tIl0GH/afppWsYNF17 o+/cw67WD93bQ== Subject: [PATCHSET 0/3] fstests: refactor ext4-specific code From: "Darrick J. Wong" To: djwong@kernel.org, guaneryu@gmail.com, zlang@redhat.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me, tytso@mit.edu, linux-ext4@vger.kernel.org Date: Tue, 02 Aug 2022 21:21:40 -0700 Message-ID: <165950050051.198922.13423077997881086438.stgit@magnolia> User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi all, This series aims to make it so that fstests can install device mapper filters for external log devices. Before we can do that, however, we need to change fstests to pass the device path of the jbd2 device to mount and mkfs. Before we can do /that/, refactor all the ext4-specific code out of common/rc into a separate common/ext4 file. If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below. This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome. --D fstests git tree: https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=refactor-ext4-helpers --- common/config | 4 + common/ext4 | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ common/rc | 177 ++------------------------------------------------------- common/xfs | 23 +++++++ 4 files changed, 208 insertions(+), 172 deletions(-) create mode 100644 common/ext4