Don't allow reflink on zoned file system until garbage collections learns
how to deal with shared extents and doesn't blindly unshare them.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
}
cli->rtextsize = 0;
}
+ if (cli->sb_feat.reflink) {
+ if (cli_opt_set(&mopts, M_REFLINK)) {
+ fprintf(stderr,
+_("reflink not supported on realtime devices with zoned mode specified\n"));
+ usage();
+ }
+ cli->sb_feat.reflink = false;
+ }
/*
* Set the rtinherit by default for zoned file systems as they