aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2023-10-10 22:43:35 +0000
committerMartin Matuska <mm@FreeBSD.org>2023-10-10 22:43:35 +0000
commit26103ccba8b75038bd83773268524ac814bfa334 (patch)
treeae7525c082d4270a07c887e2e1572a26196c4729 /sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
parentafc3d49b17a35db3b70c9e4f63a508a14a8237fe (diff)
downloadsrc-26103ccba8b75038bd83773268524ac814bfa334.tar.gz
src-26103ccba8b75038bd83773268524ac814bfa334.zip
zfs: enable block cloning by default
Discussed with: markj Reviewed by: mav Tested by: mm (FreeBSD test suite + OpenZFS test suite) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D41991
Diffstat (limited to 'sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c')
-rw-r--r--sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
index 8969fd6a54bd..09e18de81748 100644
--- a/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
+++ b/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c
@@ -89,7 +89,7 @@ int zfs_debug_level;
SYSCTL_INT(_vfs_zfs, OID_AUTO, debug, CTLFLAG_RWTUN, &zfs_debug_level, 0,
"Debug level");
-int zfs_bclone_enabled;
+int zfs_bclone_enabled = 1;
SYSCTL_INT(_vfs_zfs, OID_AUTO, bclone_enabled, CTLFLAG_RWTUN,
&zfs_bclone_enabled, 0, "Enable block cloning");