diff options
author | Saso Kiselkov <[email protected]> | 2013-08-08 13:33:18 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-08-08 13:37:00 -0700 |
commit | 4e59f475118b7081a3f950ebf7c70b5bfc7c9778 (patch) | |
tree | d53d0a2fa90c100aa49d5a0397fe96bd249d481f /include/sys/dmu_objset.h | |
parent | 3a17a7a99a1a6332d0999f9be68e2b8dc3933de1 (diff) |
Illumos #3964 L2ARC should always compress metadata buffers
3964 L2ARC should always compress metadata buffers
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Brian Behlendorf <[email protected]>
References:
https://www.illumos.org/issues/3964
Ported-by: Brian Behlendorf <[email protected]>
Closes #1379
Diffstat (limited to 'include/sys/dmu_objset.h')
-rw-r--r-- | include/sys/dmu_objset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/dmu_objset.h b/include/sys/dmu_objset.h index f42474429..507f73222 100644 --- a/include/sys/dmu_objset.h +++ b/include/sys/dmu_objset.h @@ -130,7 +130,7 @@ struct objset { ((os)->os_secondary_cache == ZFS_CACHE_ALL || \ (os)->os_secondary_cache == ZFS_CACHE_METADATA) -#define DMU_OS_IS_L2COMPRESSIBLE(os) ((os)->os_compress != ZIO_COMPRESS_OFF) +#define DMU_OS_IS_L2COMPRESSIBLE(os) (zfs_mdcomp_disable == B_FALSE) /* called from zpl */ int dmu_objset_hold(const char *name, void *tag, objset_t **osp); |