From patchwork Wed Aug 30 14:54:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 9929889 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 1100360383 for ; Wed, 30 Aug 2017 14:54:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 024E8283FF for ; Wed, 30 Aug 2017 14:54:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9FB4286AB; Wed, 30 Aug 2017 14:54:04 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 74B48283FF for ; Wed, 30 Aug 2017 14:54:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751332AbdH3OyD (ORCPT ); Wed, 30 Aug 2017 10:54:03 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:40770 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbdH3OyD (ORCPT ); Wed, 30 Aug 2017 10:54:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=f6VWIPaqpm/X77GVe2gql6hDLJX/JjjW9VrL4Dg5yMA=; b=fhZ1lvKnN75mIHgrC0xyZa0SU 5ojZCFnyQ8TFFzfGylBmmRa3nCwhJ5m87lWNRQgFB9Zh0x9DfVsmq8AhbRDc7aw+FYIe0TVedSy7u DOmR+I4LTD3JDwwLd9icqwBZstiQaX6r8nl9dcI7fb4/5Y/p52H5uKoZXvtFcwy5rz+Gzx8tyzzj9 vLTOS6AopYFBNr77LyCA9q4HhrakRIT6N+Za5DMseeI6AzcxDCjwYrsorEypxPvd96xf1UqgqbQ1c YjSdko2FCztrO+WlSYxfNUHSLCvvs9F/N7LuLwll/JbtZEMmsHi3xOUuEyHs4GmGOi/BLB5a740x7 Pv4UB6n9w==; Received: from 80-109-164-210.cable.dynamic.surfer.at ([80.109.164.210] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.87 #1 (Red Hat Linux)) id 1dn4NW-0006ka-Ty for linux-xfs@vger.kernel.org; Wed, 30 Aug 2017 14:54:03 +0000 From: Christoph Hellwig To: linux-xfs@vger.kernel.org Subject: [PATCH] xfs: remove experimental tag for reflinks Date: Wed, 30 Aug 2017 16:54:00 +0200 Message-Id: <20170830145400.3681-1-hch@lst.de> X-Mailer: git-send-email 2.11.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-xfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP But reject reflink + DAX file systems for now until the code to support reflinks on DAX is actually implemented. Signed-off-by: Christoph Hellwig --- fs/xfs/xfs_super.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 38aaacdbb8b3..92521032468e 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1634,7 +1634,9 @@ xfs_fs_fill_super( } if (xfs_sb_version_hasreflink(&mp->m_sb)) xfs_alert(mp, - "DAX and reflink have not been tested together!"); + "DAX and reflink can not be used together!"); + error = -EINVAL; + goto out_filestream_unmount; } if (xfs_sb_version_hasrmapbt(&mp->m_sb)) { @@ -1648,10 +1650,6 @@ xfs_fs_fill_super( "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!"); } - if (xfs_sb_version_hasreflink(&mp->m_sb)) - xfs_alert(mp, - "EXPERIMENTAL reflink feature enabled. Use at your own risk!"); - error = xfs_mountfs(mp); if (error) goto out_filestream_unmount;