xfs
[Top] [All Lists]

[PATCH 16/20] xfs: enable realtime rmap btree

To: david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx
Subject: [PATCH 16/20] xfs: enable realtime rmap btree
From: "Darrick J. Wong" <darrick.wong@xxxxxxxxxx>
Date: Thu, 25 Aug 2016 16:45:07 -0700
Cc: linux-xfs@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <147216860614.3688.3200692982609112535.stgit@xxxxxxxxxxxxxxxx>
References: <147216860614.3688.3200692982609112535.stgit@xxxxxxxxxxxxxxxx>
User-agent: StGit/0.17.1-dirty
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
 fs/xfs/xfs_super.c |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)


diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 2d249a5..34f6b94 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1601,16 +1601,9 @@ xfs_fs_fill_super(
                "DAX and reflink have not been tested together!");
        }
 
-       if (xfs_sb_version_hasrmapbt(&mp->m_sb)) {
-               if (mp->m_sb.sb_rblocks) {
-                       xfs_alert(mp,
-       "EXPERIMENTAL reverse mapping btree not compatible with realtime 
device!");
-                       error = -EINVAL;
-                       goto out_filestream_unmount;
-               }
+       if (xfs_sb_version_hasrmapbt(&mp->m_sb))
                xfs_alert(mp,
        "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own 
risk!");
-       }
 
        if (xfs_sb_version_hasreflink(&mp->m_sb))
                xfs_alert(mp,

<Prev in Thread] Current Thread [Next in Thread>