Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76883f79 authored by Darrick J. Wong's avatar Darrick J. Wong
Browse files

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: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarBill O'Donnell <billodo@redhat.com>
parent c14632dd
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -1691,16 +1691,12 @@ xfs_fs_fill_super(
		goto out_filestream_unmount;
	}

	if (xfs_sb_version_hasrmapbt(&mp->m_sb)) {
		if (mp->m_sb.sb_rblocks) {
	if (xfs_sb_version_hasrmapbt(&mp->m_sb) && mp->m_sb.sb_rblocks) {
		xfs_alert(mp,
	"EXPERIMENTAL reverse mapping btree not compatible with realtime device!");
	"reverse mapping btree not compatible with realtime device!");
		error = -EINVAL;
		goto out_filestream_unmount;
	}
		xfs_alert(mp,
	"EXPERIMENTAL reverse mapping btree feature enabled. Use at your own risk!");
	}

	error = xfs_mountfs(mp);
	if (error)