From patchwork Tue Mar 14 02:56:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Zhou X-Patchwork-Id: 9622445 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6EBE6604CC for ; Tue, 14 Mar 2017 02:56:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66FFC28490 for ; Tue, 14 Mar 2017 02:56:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A26A2850F; Tue, 14 Mar 2017 02:56:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.6 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SUSPICIOUS_RECIPS autolearn=no version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E4AA228490 for ; Tue, 14 Mar 2017 02:56:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 510B2803D2; Mon, 13 Mar 2017 19:56:44 -0700 (PDT) X-Original-To: linux-nvdimm@ml01.01.org Delivered-To: linux-nvdimm@ml01.01.org Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 AAB92803A5 for ; Mon, 13 Mar 2017 19:56:43 -0700 (PDT) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 35EC53B755; Tue, 14 Mar 2017 02:56:44 +0000 (UTC) Received: from localhost (dhcp12-130.nay.redhat.com [10.66.12.130] (may be forged)) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v2E2ugaf016492; Mon, 13 Mar 2017 22:56:43 -0400 Date: Tue, 14 Mar 2017 10:56:42 +0800 From: Xiong Zhou To: linux-nvdimm@ml01.01.org Subject: fsx tests on DAX started to fail with msync failure on 0307 -next tree Message-ID: <20170314025642.nwpf7zxbc6655gum@XZHOUW.usersys.redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170306-8-56456c (1.8.0) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Tue, 14 Mar 2017 02:56:44 +0000 (UTC) X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP Hi, xfstests cases: generic/075 generic/112 generic/127 generic/231 generic/263 fail with DAX, pass without it. Both xfs and ext4. It was okay on 0306 -next tree. + ./check generic/075 FSTYP -- xfs (non-debug) PLATFORM -- Linux/x86_64 hp-dl360g9-12 4.11.0-rc1-linux-next-5be4921-next-20170310 MKFS_OPTIONS -- -f -bsize=4096 /dev/pmem0p2 MOUNT_OPTIONS -- -o dax -o context=system_u:object_r:nfs_t:s0 /dev/pmem0p2 /daxsch generic/075 4s ... [failed, exit status 1] - output mismatch (see /root/xfstests/results//generic/075.out.bad) --- tests/generic/075.out 2016-12-13 14:38:25.984557426 +0800 +++ /root/xfstests/results//generic/075.out.bad 2017-03-14 10:40:23.083052839 +0800 @@ -4,15 +4,4 @@ ----------------------------------------------- fsx.0 : -d -N numops -S 0 ----------------------------------------------- - ------------------------------------------------ -fsx.1 : -d -N numops -S 0 -x ------------------------------------------------ ... (Run 'diff -u tests/generic/075.out /root/xfstests/results//generic/075.out.bad' to see the entire diff) .. $ diff -u xfstests/tests/generic/075.out /root/xfstests/results//generic/075.out.bad $ diff -u /root/xfstests/results//generic/075.0.{good,fsxlog} | tail -20 -03cb30 f903 da03 1103 7503 5403 8903 9f03 6b03 -03cb40 bb03 fb03 5603 7e03 c503 ca03 0103 9603 -03cb50 7f03 7c03 0c03 5103 ed03 dc03 a403 5c03 -03cb60 5403 b903 4403 3c03 4b03 a903 2303 1a03 -03cb70 2b03 5f03 fd03 ee03 1303 9703 2903 d303 -03cb80 4e03 9903 f903 8003 b803 2503 2203 c903 -03cb90 6803 7a03 0f03 6303 de03 ba03 6e03 6503 -03cba0 db03 -03cba2 +skipping zero size read +skipping insert range behind EOF +3 mapwrite 0x2e836 thru 0x3cba1 (0xe36c bytes) +domapwrite: msync: Invalid argument +LOG DUMP (3 total operations): +1( 1 mod 256): SKIPPED (no operation) +2( 2 mod 256): SKIPPED (no operation) +3( 3 mod 256): MAPWRITE 0x2e836 thru 0x3cba1 (0xe36c bytes) +Log of operations saved to "075.0.fsxops"; replay with --replay-ops +Correct content saved for comparison +(maybe hexdump "075.0" vs "075.0.fsxgood") https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/tests/generic/075 https://git.kernel.org/pub/scm/fs/xfs/xfstests-dev.git/tree/ltp/fsx.c --- xfstests/tests/generic/075.out 2016-12-13 14:38:25.984557426 +0800 +++ /root/xfstests/results//generic/075.out.bad 2017-03-14 10:40:23.083052839 +0800 @@ -4,15 +4,4 @@ ----------------------------------------------- fsx.0 : -d -N numops -S 0 ----------------------------------------------- - ------------------------------------------------ -fsx.1 : -d -N numops -S 0 -x ------------------------------------------------ - ------------------------------------------------ -fsx.2 : -d -N numops -l filelen -S 0 ------------------------------------------------ - ------------------------------------------------ -fsx.3 : -d -N numops -l filelen -S 0 -x ------------------------------------------------ + fsx (-d -N 1000 -S 0) failed, 0 - compare /root/xfstests/results//generic/075.0.{good,bad,fsxlog}