diff --git a/files/common/lib/modprobe.d/10-zfs.conf b/files/common/lib/modprobe.d/10-zfs.conf index cb873399..3fb3ba5e 100644 --- a/files/common/lib/modprobe.d/10-zfs.conf +++ b/files/common/lib/modprobe.d/10-zfs.conf @@ -137,3 +137,12 @@ options zfs zfs_deadman_synctime_ms=60000 # enabled, thus we disable it here until we can get that fixed. # options zfs zap_shrink_enabled=0 + +# +# On object storage, block cloning causes a VM panic on small instances. The +# problem is that we do an allocation proportional to the size of the vdev, +# which is huge for object storage. We could try to change the block cloning +# code to behave better in the presence of large vdevs, but for now, we should +# just disable the feature. +# +options zfs zfs_bclone_enabled=0 \ No newline at end of file