]> git.proxmox.com Git - mirror_zfs.git/commit
Disable user space reference tracking
authorBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 13 Apr 2020 17:51:44 +0000 (10:51 -0700)
committerGitHub <noreply@github.com>
Mon, 13 Apr 2020 17:51:44 +0000 (10:51 -0700)
commit791e480c6ac7a3e33adc5270b3fc99015f9f0c15
treed101d17bab6070abb70e549e4bc7f7ccb4197ee5
parentc602b35cf7091e5afd192c9a943433379e21f567
Disable user space reference tracking

The memory and cpu cost of reference count tracking with the current
implementation is significant.  For this reason it has always been
disabled by default for the kmods.  Apply this same default to user
space so ztest doesn't always incur this performance penalty.

Our intention is to re-enable this by default for ztest once the code
has been optimized.  Since we expect to at some point provide a FUSE
implementation we wouldn't want this enabled by default for libzpool.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #10189
module/zfs/refcount.c