mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
3dfc591ac4
The function zlib_deflate_workspacesize() now take 2 arguments. This was done to avoid always having to allocate the maximum size workspace (268K). The caller can now specific the windowBits and memLevel compression parameters to get a smaller workspace. For our purposes we introduce a spl_zlib_deflate_workspacesize() wrapper which accepts both arguments. When the two argument version of zlib_deflate_workspacesize() is available the arguments are passed through. When it's not we assume the worst case and a maximally sized workspace is used. |
||
---|---|---|
.. | ||
bitops_compat.h | ||
compiler_compat.h | ||
file_compat.h | ||
kallsyms_compat.h | ||
list_compat.h | ||
Makefile.in | ||
math64_compat.h | ||
mm_compat.h | ||
module_compat.h | ||
mutex_compat.h | ||
proc_compat.h | ||
rwsem_compat.h | ||
smp_compat.h | ||
sysctl_compat.h | ||
time_compat.h | ||
uaccess_compat.h | ||
workqueue_compat.h | ||
zlib_compat.h |