Zone file systems are intended to use sequential write required zones
(or areas treated as such) for data, and the main data device only for
metadata. rtinherit=1 is the way to achieve that, so enabled it by
default.
Signed-off-by: Christoph Hellwig <hch@lst.de>
}
cli->rtextsize = 0;
}
+
+ /*
+ * Force the rtinherit flag on the root inode for zoned file
+ * systems as they use the data device only as a metadata
+ * container.
+ */
+ cli->fsx.fsx_xflags |= FS_XFLAG_RTINHERIT;
} else {
if (cli->rtstart) {
fprintf(stderr,