From patchwork Tue Mar 14 03:59:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Murphy Zhou X-Patchwork-Id: 9622473 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 BEC2760244 for ; Tue, 14 Mar 2017 03:59:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9F762283FD for ; Tue, 14 Mar 2017 03:59:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 93A26284EF; Tue, 14 Mar 2017 03:59:38 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 04D3D283FD for ; Tue, 14 Mar 2017 03:59:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752711AbdCND7h (ORCPT ); Mon, 13 Mar 2017 23:59:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42422 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653AbdCND7h (ORCPT ); Mon, 13 Mar 2017 23:59:37 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (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 3B1098123A; Tue, 14 Mar 2017 03:59:37 +0000 (UTC) Received: from localhost (dhcp12-130.nay.redhat.com [10.66.12.130] (may be forged)) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v2E3xZ47027189; Mon, 13 Mar 2017 23:59:36 -0400 From: Xiong Zhou To: fstests@vger.kernel.org Cc: ross.zwisler@linux.intel.com, dan.j.williams@intel.com, Xiong Zhou Subject: [PATCH] DAX DIO: DAX mapped area DIO to non-DAX expected failure Date: Tue, 14 Mar 2017 11:59:20 +0800 Message-Id: <1489463960-3579-1-git-send-email-xzhou@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Tue, 14 Mar 2017 03:59:37 +0000 (UTC) Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's not supported on raw mode nvdimm, brd ramdisk: https://lists.01.org/pipermail/linux-nvdimm/2017-February/008959.html It's working on "memory mode" nvdimm, memmap ramdisk. Mute output of this subtest to stop the fake failure. Keep this routine for sanity check. Updating generic/413 and xfs/260. Signed-off-by: Xiong Zhou --- tests/generic/413 | 6 ++++-- tests/xfs/260 | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/generic/413 b/tests/generic/413 index a1cc514..828ef79 100755 --- a/tests/generic/413 +++ b/tests/generic/413 @@ -89,11 +89,13 @@ t_dax_to_nondax() { prep_files src/t_mmap_dio $SCRATCH_MNT/tf_s \ - $TEST_DIR/tf_d $1 "dio dax to nondax" + $TEST_DIR/tf_d $1 "dio dax to nondax" \ + > /dev/null 2>&1 prep_files src/t_mmap_dio -b $SCRATCH_MNT/tf_s \ - $TEST_DIR/tf_d $1 "buffered dax to nondax" + $TEST_DIR/tf_d $1 "buffered dax to nondax" \ + > /dev/null 2>&1 } t_both_nondax() diff --git a/tests/xfs/260 b/tests/xfs/260 index e613cc0..ff7eed2 100755 --- a/tests/xfs/260 +++ b/tests/xfs/260 @@ -94,13 +94,15 @@ t_dax_to_nondax() $XFS_IO_PROG -c "chattr +x" $SCRATCH_MNT/tf_s $XFS_IO_PROG -c "chattr -x" $SCRATCH_MNT/tf_d src/t_mmap_dio $SCRATCH_MNT/tf_{s,d} \ - $1 "dio dax to nondax" + $1 "dio dax to nondax" \ + > /dev/null 2>&1 prep_files $XFS_IO_PROG -c "chattr +x" $SCRATCH_MNT/tf_s $XFS_IO_PROG -c "chattr -x" $SCRATCH_MNT/tf_d src/t_mmap_dio -b $SCRATCH_MNT/tf_{s,d} \ - $1 "buffered dax to nondax" + $1 "buffered dax to nondax" \ + > /dev/null 2>&1 } t_both_nondax()