X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fdmu_objset.h;fp=include%2Fsys%2Fdmu_objset.h;h=507f73222895c362b151c53da8196dd59017670f;hb=4e59f475118b7081a3f950ebf7c70b5bfc7c9778;hp=f4247442954f3dd9936ccc4ec38c2a1c24d7da03;hpb=3a17a7a99a1a6332d0999f9be68e2b8dc3933de1;p=zfs.git diff --git a/include/sys/dmu_objset.h b/include/sys/dmu_objset.h index f424744..507f732 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);