aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zio_compress.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2015-01-16 14:42:46 -0800
committerBrian Behlendorf <[email protected]>2015-01-16 14:58:46 -0800
commit6e9710f7c33a7440904b39fb4e6b68b3325cfeca (patch)
treef4b2a6557308bea2cc3d851e728d1a4585dc4427 /module/zfs/zio_compress.c
parentd958324f97f4668a2a6e4a6ce3e5ca09b71b31d9 (diff)
parent81971b137ada2097ed73a4364cb896a99d71f578 (diff)
Merge branch 'kmem-rework'
The core motivation behind these changes is to minimize the memory management differences between ZFS on Linux and other platforms. This simplifies the process of porting changes to Linux from other platforms. This is good for code quality and is expected to reduce the number of defects accidentally introduced due to porting. The following key Linux specific changes have been reverted. * KM_PUSHPAGE changed back to KM_SLEEP. All contexts where it is unsafe to perform IO have been marked with PF_FSTRANS. This context specific mechanism is now used exclusively and the KM_PUSHPAGE mechanism has been retired. * The KM_NODEBUG flag has been retired. Allocations larger than 32K should use vmem_alloc()/vmem_free(). Depending on the size of the allocation either kmalloc() or vmalloc() will be used internally, but no warning will be printed. * Pre-allocated vdev IO buffers and the dedicated SA spill block cache have been retired. It is now safe and reliable to allocate buffers of the needed size without fear of deadlocking. This reduces our memory footprint and paves the way for larger block sizes. Depends on zfsonlinux/spl#414. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Tim Chase <[email protected]> Closes #2918
Diffstat (limited to 'module/zfs/zio_compress.c')
0 files changed, 0 insertions, 0 deletions