From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C0EBC4332D for ; Fri, 20 Mar 2020 03:18:46 +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 C6FD520724 for ; Fri, 20 Mar 2020 03:18:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="ed+H2F+M" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C6FD520724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2884310FC36EA; Thu, 19 Mar 2020 20:19:35 -0700 (PDT) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=63.128.21.74; helo=us-smtp-delivery-74.mimecast.com; envelope-from=xifeng@redhat.com; receiver= Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [63.128.21.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8A70010FC36E7 for ; Thu, 19 Mar 2020 20:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584674319; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fj97gJkdixMRyXUxSt5rG9WX/Cbx7ZZHXv0C3W0Ejck=; b=ed+H2F+M/AvDWGsqWtKFKG0qsfRp4hh0Qkxde/0jTSRI45Ev8a4uFohRPURc2Z8lWBhP7v K+VoyGk2h0JHivN+qTYApEV8oFgi8ShT90N3ePpWCIY8vC9m29Es4YEIwzHur36y6LUYrW hJ9CFyIWGICWb/3UTF9pDL+HVG6MzSs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-358--ctQ7oUyNHugLkFzzpfM_Q-1; Thu, 19 Mar 2020 23:18:33 -0400 X-MC-Unique: -ctQ7oUyNHugLkFzzpfM_Q-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2F37F8017CC; Fri, 20 Mar 2020 03:18:32 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 274055C1D8; Fri, 20 Mar 2020 03:18:32 +0000 (UTC) Received: from zmail23.collab.prod.int.phx2.redhat.com (zmail23.collab.prod.int.phx2.redhat.com [10.5.83.28]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EFF8C18095FF; Fri, 20 Mar 2020 03:18:31 +0000 (UTC) Date: Thu, 19 Mar 2020 23:18:31 -0400 (EDT) From: Xiaoli Feng To: Dan Williams Message-ID: <1404245216.17517222.1584674311320.JavaMail.zimbra@redhat.com> In-Reply-To: References: <20200320021255.1778-1-xifeng@redhat.com> Subject: Re: [PATCH v1] test/dax.sh: correct the pmd pagefault counts generated by dax-pmd MIME-Version: 1.0 X-Originating-IP: [10.72.12.163, 10.4.195.6] Thread-Topic: test/dax.sh: correct the pmd pagefault counts generated by dax-pmd Thread-Index: eSnCnsRY4ONtXqe6+a71ItuA44E/cw== X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Message-ID-Hash: RKFJRGWOGJLZYHOG6Y5ZKV5J6OJG7TNB X-Message-ID-Hash: RKFJRGWOGJLZYHOG6Y5ZKV5J6OJG7TNB X-MailFrom: xifeng@redhat.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 CC: linux-nvdimm 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: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, ----- Original Message ----- > From: "Dan Williams" > To: "XiaoLi Feng" > Cc: "linux-nvdimm" > Sent: Friday, March 20, 2020 10:36:05 AM > Subject: Re: [PATCH v1] test/dax.sh: correct the pmd pagefault counts generated by dax-pmd > > On Thu, Mar 19, 2020 at 7:13 PM XiaoLi Feng wrote: > > > > From: Xiaoli Feng > > > > For directIO, cannot generate pmd pagefault by pread|pwrite|read|write > > if do not map fd to memory. In dax-pmd.c, case 1 and case 4 each only > > generate once pmd pagefault. So change the all counts from 10 to 8. > > What kernel are you seeing this failure on? It's passing for me on v5.6-rc. I test on v4.18. I will test on v5.6. # make check-TESTS PASS: libndctl PASS: dsm-fail PASS: dpa-alloc PASS: parent-uuid PASS: multi-pmem PASS: create.sh PASS: clear.sh PASS: pmem-errors.sh PASS: daxdev-errors.sh PASS: multi-dax.sh PASS: btt-check.sh PASS: label-compat.sh PASS: blk-exhaust.sh PASS: sector-mode.sh PASS: inject-error.sh PASS: btt-errors.sh PASS: hugetlb PASS: btt-pad-compat.sh PASS: firmware-update.sh PASS: ack-shutdown-count-set PASS: rescan-partitions.sh SKIP: inject-smart.sh PASS: monitor.sh SKIP: max_available_extent_ns.sh SKIP: pfn-meta-errors.sh PASS: blk-ns PASS: pmem-ns PASS: dax-dev FAIL: dax-ext4.sh FAIL: dax-xfs.sh PASS: device-dax SKIP: device-dax-fio.sh PASS: mmap.sh SKIP: daxctl-devices.sh SKIP: security.sh ...cut... # grep -r "cleanup 66" -B 5 dax-ext4.sh.log + '[' NOPAGE '!=' 0x100 ']' + '[' NOPAGE '!=' NOPAGE ']' + count=8 + read -r p + '[' 8 -lt 10 ']' + cleanup 66 > > _______________________________________________ Linux-nvdimm mailing list -- linux-nvdimm@lists.01.org To unsubscribe send an email to linux-nvdimm-leave@lists.01.org