xfs_warn(mp,
"EXPERIMENTAL realtime allocation group feature in use. Use at your own risk!");
- if (xfs_has_rtsb(mp))
+ if (xfs_has_rtsb(mp)) {
+ if (xfs_has_zoned(mp)) {
+ xfs_alert(mp,
+ "realtime superblock feature not supported on zoned devices.");
+ error = -EINVAL;
+ goto out_filestream_unmount;
+ }
xfs_warn(mp,
"EXPERIMENTAL realtime superblock feature in use. Use at your own risk!");
+ }
if (xfs_has_reflink(mp)) {
/*
goto out_filestream_unmount;
}
+ if (xfs_has_zoned(mp)) {
+ xfs_alert(mp,
+ "reflink not compatible with zoned RT device!");
+ error = -EINVAL;
+ goto out_filestream_unmount;
+ }
+
/*
* always-cow mode is not supported on filesystems with rt
* extent sizes larger than a single block because we'd have