summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_super.c
diff options
context:
space:
mode:
authorDarrick J. Wong2016-08-03 04:20:57 +0200
committerDave Chinner2016-08-03 04:20:57 +0200
commit1c0607ace9bd639d22ad1bd453ffeb7d55913f88 (patch)
tree85e2ada09958be2ab9e447a4dbf21e0beaf714a5 /fs/xfs/xfs_super.c
parentxfs: don't update rmapbt when fixing agfl (diff)
downloadkernel-qcow2-linux-1c0607ace9bd639d22ad1bd453ffeb7d55913f88.tar.gz
kernel-qcow2-linux-1c0607ace9bd639d22ad1bd453ffeb7d55913f88.tar.xz
kernel-qcow2-linux-1c0607ace9bd639d22ad1bd453ffeb7d55913f88.zip
xfs: enable the rmap btree functionality
Originally-From: Dave Chinner <dchinner@redhat.com> Add the feature flag to the supported matrix so that the kernel can mount and use rmap btree enabled filesystems Signed-off-by: Dave Chinner <dchinner@redhat.com> [darrick.wong@oracle.com: move the experimental tag] Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r--fs/xfs/xfs_super.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 9f8090951f09..45773df1dd0b 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1574,6 +1574,10 @@ xfs_fs_fill_super(
}
}
+ if (xfs_sb_version_hasrmapbt(&mp->m_sb))
+ xfs_alert(mp,
+ "EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!");
+
error = xfs_mountfs(mp);
if (error)
goto out_filestream_unmount;