From patchwork Sat Oct 19 16:39:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 11200285 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3129513B1 for ; Sat, 19 Oct 2019 16:53:59 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0DE0120869 for ; Sat, 19 Oct 2019 16:53:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0DE0120869 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from new-ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B4CCD1007B75A; Sat, 19 Oct 2019 09:55:57 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=134.134.136.100; helo=mga07.intel.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 940C71007B758 for ; Sat, 19 Oct 2019 09:55:55 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2019 09:53:56 -0700 X-IronPort-AV: E=Sophos;i="5.67,316,1566889200"; d="scan'208";a="190676549" Received: from dwillia2-desk3.jf.intel.com (HELO dwillia2-desk3.amr.corp.intel.com) ([10.54.39.16]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2019 09:53:56 -0700 Subject: [ndctl PATCH 0/4] test/dax.sh: Add huge page fault validation From: Dan Williams To: linux-nvdimm@lists.01.org Date: Sat, 19 Oct 2019 09:39:38 -0700 Message-ID: <157150317870.3940762.5638079137146963300.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.18-2-gc94f MIME-Version: 1.0 Message-ID-Hash: GTHW7MEHHAOJLQQWWZ6W7DROESOY64YT X-Message-ID-Hash: GTHW7MEHHAOJLQQWWZ6W7DROESOY64YT X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: v5.3 regressed huge page faulting and the ndctl unit test that tries to generate huge page faults did not report it. - Use trace-cmd to validate fault results - Workaround XFS issues with fallocate > agsize - Split the test to get distinct ext4 and xfs results - Other misc fixups. --- Dan Williams (4): test/dax.sh: Fix failure reporting / handling test/dax.sh: Fix xfs 2M alignment test/dax.sh: Validate huge page mappings test/dax.sh: Split into ext4 and xfs tests test/Makefile.am | 3 + test/dax-ext4.sh | 1 test/dax-pmd.c | 3 + test/dax-xfs.sh | 1 test/dax.sh | 127 ++++++++++++++++++++++++++++++++++-------------------- 5 files changed, 87 insertions(+), 48 deletions(-) create mode 120000 test/dax-ext4.sh create mode 120000 test/dax-xfs.sh