From f7aba42c975ddbb7d8a630585c5eaba01b9579e8 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 10 Sep 2017 16:41:47 +0200 Subject: [PATCH 181/310] zfs: Allow to set zfs_send_set_freerecords_bit at runtime Obtained from: ElectroBSD --- sys/contrib/openzfs/module/zfs/dmu_send.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/contrib/openzfs/module/zfs/dmu_send.c b/sys/contrib/openzfs/module/zfs/dmu_send.c index 390afba92680..a96ddcae916d 100644 --- a/sys/contrib/openzfs/module/zfs/dmu_send.c +++ b/sys/contrib/openzfs/module/zfs/dmu_send.c @@ -101,6 +101,8 @@ int zfs_override_estimate_recordsize = 0; /* Set this tunable to FALSE to disable setting of DRR_FLAG_FREERECORDS */ int zfs_send_set_freerecords_bit = B_TRUE; +ZFS_MODULE_PARAM(zfs, zfs_, send_set_freerecords_bit, INT, ZMOD_RW, + "Set the freerecords bits when sending"); /* Set this tunable to FALSE is disable sending unmodified spill blocks. */ int zfs_send_unmodified_spill_blocks = B_TRUE; -- 2.37.1