From patchwork Thu Sep 29 02:28:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 9355659 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 C3FDD6077B for ; Thu, 29 Sep 2016 02:28:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B70B729711 for ; Thu, 29 Sep 2016 02:28:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB985297B2; Thu, 29 Sep 2016 02:28:49 +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, UNPARSEABLE_RELAY 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 2F13A29711 for ; Thu, 29 Sep 2016 02:28:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754791AbcI2C2s (ORCPT ); Wed, 28 Sep 2016 22:28:48 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:23143 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754342AbcI2C2s (ORCPT ); Wed, 28 Sep 2016 22:28:48 -0400 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u8T2Sil6007520 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Sep 2016 02:28:44 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u8T2ShGq014843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Sep 2016 02:28:44 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u8T2SfIX020026; Thu, 29 Sep 2016 02:28:42 GMT Received: from localhost (/24.21.211.40) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Sep 2016 19:28:41 -0700 Subject: [PATCH 3/3] xfs/{207,327}: fsxattr no longer has the reflink flag From: "Darrick J. Wong" To: david@fromorbit.com, eguan@redhat.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Wed, 28 Sep 2016 19:28:40 -0700 Message-ID: <147511612047.12284.3645173774395982911.stgit@birch.djwong.org> In-Reply-To: <147511610789.12284.10323409415801065382.stgit@birch.djwong.org> References: <147511610789.12284.10323409415801065382.stgit@birch.djwong.org> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The FS_XFLAG_REFLINK flag was removed from struct fsxattr prior to the inclusion of reflink in XFS, so remove it from the test outputs. Note that the inode flag still exists; it's simply not presented to userspace any more. Signed-off-by: Darrick J. Wong Reviewed-by: Dave Chinner --- tests/xfs/207.out | 4 ++-- tests/xfs/327.out | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/tests/xfs/207.out b/tests/xfs/207.out index 434b8d9..f6dc17d 100644 --- a/tests/xfs/207.out +++ b/tests/xfs/207.out @@ -11,8 +11,8 @@ Check extsz and cowextsz settings on 1Mbyte file [0] SCRATCH_MNT/test-207/file2 [1048576] SCRATCH_MNT/test-207/file2 Set cowextsize and check flag -fsxattr.xflags = 0x20000 [----------------C] +fsxattr.xflags = 0x10000 [---------------C] [1048576] SCRATCH_MNT/test-207/file3 Unset cowextsize and check flag -fsxattr.xflags = 0x0 [-----------------] +fsxattr.xflags = 0x0 [----------------] [0] SCRATCH_MNT/test-207/file3 diff --git a/tests/xfs/327.out b/tests/xfs/327.out index c88d623..5b3cba2 100644 --- a/tests/xfs/327.out +++ b/tests/xfs/327.out @@ -3,11 +3,11 @@ Format filesystem Create files Check files 8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.0 -[reflink] SCRATCH_MNT/file.0 +[] SCRATCH_MNT/file.0 8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.64 -[reflink] SCRATCH_MNT/file.64 +[] SCRATCH_MNT/file.64 8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.128 -[reflink] SCRATCH_MNT/file.128 +[] SCRATCH_MNT/file.128 CoW all files Repair filesystem Check files again