diff options
-rw-r--r-- | module/zfs/refcount.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/zfs/refcount.c b/module/zfs/refcount.c index a612b2f40..6c9c305ed 100644 --- a/module/zfs/refcount.c +++ b/module/zfs/refcount.c @@ -26,11 +26,12 @@ #include <sys/zfs_context.h> #include <sys/refcount.h> -#ifdef _KERNEL -int reference_tracking_enable = FALSE; /* runs out of memory too easily */ -#else -int reference_tracking_enable = TRUE; -#endif +/* + * Reference count tracking is disabled by default. It's memory requirements + * are reasonable, however as implemented it consumes a significant amount of + * cpu time. Until its performance is improved it should be manually enabled. + */ +int reference_tracking_enable = FALSE; int reference_history = 3; /* tunable */ #ifdef ZFS_DEBUG |