From patchwork Wed Jul 4 04:51:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Darrick J. Wong" X-Patchwork-Id: 10505839 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 D727D600F5 for ; Wed, 4 Jul 2018 04:51:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C20EF28C40 for ; Wed, 4 Jul 2018 04:51:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B523528C79; Wed, 4 Jul 2018 04:51:23 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, 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 5571628C40 for ; Wed, 4 Jul 2018 04:51:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932420AbeGDEvW (ORCPT ); Wed, 4 Jul 2018 00:51:22 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:49172 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204AbeGDEvV (ORCPT ); Wed, 4 Jul 2018 00:51:21 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w644mivv066018; Wed, 4 Jul 2018 04:51:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : from : to : cc : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=8WGB6FZZw70iuKZfha0oPWxcPdoPdzmmX8RGz5g0HII=; b=QGCqTW9zz/F9eFn/sJqcOBKDm+VHEczeI22KxQmkg60fdIcYjtUJjTsXoGPoEDbqM8TC zuuKDzLwCrj7CQb/CrDZwkS6l2pFhzUyqmFK402RHeUiKqaH3cGTCVMgDBYFGc/mYsRb 0siRmEApwroAAMH8XYH5L9efPNfF9CEiZPxU395ctGQGDwv3uBgVq2VJghteaLtKjpdL aSXKpg+V6ms/LhVDWsvf3KXsAnpyJoHZv6rYXf0dwnCQP4X9WipKblqFAYJ5m/qsHYrx 3dzhqwJpQ7/QEBQxy4P+Vy0+mNlGQkps/zyrFZvAOCudC6G4Xt1rtY0B9H+XJLy/idKP JA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2k0dnt18dg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Jul 2018 04:51:20 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w644pK1T005797 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Jul 2018 04:51:20 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w644pKrw005014; Wed, 4 Jul 2018 04:51:20 GMT Received: from localhost (/67.169.218.210) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 03 Jul 2018 21:51:19 -0700 Subject: [PATCH 5/7] xfs/288: update for v5 filesystem support in xfs_db From: "Darrick J. Wong" To: guaneryu@gmail.com, darrick.wong@oracle.com Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org Date: Tue, 03 Jul 2018 21:51:18 -0700 Message-ID: <153067987888.28393.1495605585039843918.stgit@magnolia> In-Reply-To: <153067984748.28393.1595618163831671652.stgit@magnolia> References: <153067984748.28393.1595618163831671652.stgit@magnolia> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8943 signatures=668704 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=845 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807040056 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Darrick J. Wong The xfs_db 'write -d' command has supported v5 filesystems for a few releases now, and there's nothing about this test that require v4, so let the test run with v5 if the user so specifies. Signed-off-by: Darrick J. Wong --- tests/xfs/288 | 8 +------- 1 file changed, 1 insertion(+), 7 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/288 b/tests/xfs/288 index e7a08a5d..bccdb6fc 100755 --- a/tests/xfs/288 +++ b/tests/xfs/288 @@ -36,14 +36,8 @@ _supported_os Linux _require_scratch _require_attrs -# Due to xfs_db's write -d option is still not stable, and there's no -# plan to support attr3. So only run this case on V4 XFS. -# Please update this if xfs_db get enough improvement in one day. -if [ -z "$XFS_MKFS_HAS_NO_META_SUPPORT" ]; then - mkfs_opts="-m crc=0" -fi # get block size ($dbsize) from the mkfs output -_scratch_mkfs_xfs $mkfs_opts 2>/dev/null | _filter_mkfs 2>$tmp.mkfs >/dev/null +_scratch_mkfs_xfs 2>/dev/null | _filter_mkfs 2>$tmp.mkfs >/dev/null . $tmp.mkfs _scratch_mount