mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 02:49:32 +03:00
Add zfs_mdcomp_disable module option
Expose the zfs_mdcomp_disable variable as a module option. This can be used to disable compression of zfs meta data which is enabled by default. This shouldn't need to be tuned but for most workloads, however there may be very specific instances where it makes sense to trade disk capacity for extra cpu cycles. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
ad60af8e1b
commit
afec56b43f
@ -1900,4 +1900,7 @@ EXPORT_SYMBOL(dmu_return_arcbuf);
|
||||
EXPORT_SYMBOL(dmu_assign_arcbuf);
|
||||
EXPORT_SYMBOL(dmu_buf_hold);
|
||||
EXPORT_SYMBOL(dmu_ot);
|
||||
|
||||
module_param(zfs_mdcomp_disable, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_mdcomp_disable, "Disable meta data compression");
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user