linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xfs: remove experimental tag for reflinks
@ 2017-08-30 14:54 Christoph Hellwig
  2017-08-31  6:40 ` Darrick J. Wong
  2017-11-15  1:10 ` Darrick J. Wong
  0 siblings, 2 replies; 21+ messages in thread
From: Christoph Hellwig @ 2017-08-30 14:54 UTC (permalink / raw)
  To: linux-xfs

But reject reflink + DAX file systems for now until the code to
support reflinks on DAX is actually implemented.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 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;
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2018-01-08 22:11 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-30 14:54 [PATCH] xfs: remove experimental tag for reflinks Christoph Hellwig
2017-08-31  6:40 ` Darrick J. Wong
2017-08-31 12:43   ` Brian Foster
2017-08-31 13:30     ` Christoph Hellwig
2017-08-31 15:31       ` Darrick J. Wong
2017-08-31 15:55         ` Eric Sandeen
2017-08-31 20:02           ` Darrick J. Wong
2017-08-31 15:59         ` Brian Foster
2017-08-31 20:09           ` Darrick J. Wong
2017-08-31 20:36             ` Brian Foster
2017-08-31 22:58               ` Dave Chinner
2017-09-01 11:16                 ` Brian Foster
2017-08-31 22:19   ` Dave Chinner
2018-01-08 21:43     ` Darrick J. Wong
2018-01-08 22:11       ` Dave Chinner
2017-11-15  1:10 ` Darrick J. Wong
2017-11-15  6:14   ` Amir Goldstein
2017-11-22 18:31     ` Darrick J. Wong
2017-11-22 20:40       ` Amir Goldstein
2017-11-22 21:00         ` Darrick J. Wong
2017-11-23 10:44           ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).