]> git.proxmox.com Git - mirror_zfs.git/commit - include/sys/zfs_context.h
Retire KM_NODEBUG
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 3 Dec 2014 19:56:32 +0000 (14:56 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Jan 2015 22:40:32 +0000 (14:40 -0800)
commitefcd79a883caddea4a20bfc771da31ecc6ce4ca2
tree3eb615043ffa64d2a7729aa6450c1326cb62f40e
parent71f8548ea443718a5afb1598f1f3a27a369ccd8b
Retire KM_NODEBUG

Callers of kmem_alloc() which passed the KM_NODEBUG flag to suppress
the large allocation warning have been replaced by vmem_alloc() as
appropriate.  The updated vmem_alloc() call will not print a warning
regardless of the size of the allocation.

A careful reader will notice that not all callers have been changed
to vmem_alloc().  Some have only had the KM_NODEBUG flag removed.
This was possible because the default warning threshold has been
increased to 32k.  This is desirable because it minimizes the need
for Linux specific code changes.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
17 files changed:
include/sys/spa.h
include/sys/zfs_context.h
module/nvpair/nvpair_alloc_spl.c
module/zfs/ddt.c
module/zfs/dmu.c
module/zfs/dnode.c
module/zfs/dsl_scan.c
module/zfs/spa.c
module/zfs/spa_config.c
module/zfs/spa_misc.c
module/zfs/vdev.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_vfsops.c
module/zfs/zfs_znode.c
module/zfs/zil.c
module/zfs/zio.c
module/zfs/zpl_file.c