Commit 4bc6ecbf by Jeff Cook

Skip rootfs pinning for ZFS roots.

Signed-off-by: 's avatarJeff Cook <jeff@jeffcook.io>
parent 5b508c37
......@@ -543,6 +543,11 @@ int lxc_rootfs_init(struct lxc_conf *conf, bool userns)
return syserror_set(-EINVAL, "Idmapped rootfs currently only supports the \"dir\" storage driver");
}
if (rootfs->bdev_type && strequal(rootfs->bdev_type, "zfs")) {
TRACE("Not pinning because container uses ZFS");
goto out;
}
if (rootfs->path) {
if (rootfs->bdev_type &&
(strequal(rootfs->bdev_type, "overlay") ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment