Skip to content

Commit 76883f7

Browse files
committed
xfs: remove experimental tag for reverse mapping
Reverse mapping has had a while to soak, so remove the experimental tag. Now that we've landed space metadata cross-referencing in scrub, the feature actually has a purpose. Reject rmap filesystems with an rt device until the code to support it is actually implemented. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Bill O'Donnell <billodo@redhat.com>
1 parent c14632d commit 76883f7

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎fs/xfs/xfs_super.c‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1691,15 +1691,11 @@ xfs_fs_fill_super(
16911691
goto out_filestream_unmount;
16921692
}
16931693

1694-
if (xfs_sb_version_hasrmapbt(&mp->m_sb)) {
1695-
if (mp->m_sb.sb_rblocks) {
1696-
xfs_alert(mp,
1697-
"EXPERIMENTAL reverse mapping btree not compatible with realtime device!");
1698-
error = -EINVAL;
1699-
goto out_filestream_unmount;
1700-
}
1694+
if (xfs_sb_version_hasrmapbt(&mp->m_sb) && mp->m_sb.sb_rblocks) {
17011695
xfs_alert(mp,
1702-
"EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!");
1696+
"reverse mapping btree not compatible with realtime device!");
1697+
error = -EINVAL;
1698+
goto out_filestream_unmount;
17031699
}
17041700

17051701
error = xfs_mountfs(mp);

0 commit comments

Comments
 (0)