]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/spa_misc.c
Change KM_PUSHPAGE -> KM_SLEEP
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 21 Nov 2014 00:09:39 +0000 (19:09 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Jan 2015 22:41:26 +0000 (14:41 -0800)
commit79c76d5b65b19a602d4c7a340da7bf90d4a0c4f8
tree4a8b04dd1657e396d4a04f72364d9157dec0b178
parentefcd79a883caddea4a20bfc771da31ecc6ce4ca2
Change KM_PUSHPAGE -> KM_SLEEP

By marking DMU transaction processing contexts with PF_FSTRANS
we can revert the KM_PUSHPAGE -> KM_SLEEP changes.  This brings
us back in line with upstream.  In some cases this means simply
swapping the flags back.  For others fnvlist_alloc() was replaced
by nvlist_alloc(..., KM_PUSHPAGE) and must be reverted back to
fnvlist_alloc() which assumes KM_SLEEP.

The one place KM_PUSHPAGE is kept is when allocating ARC buffers
which allows us to dip in to reserved memory.  This is again the
same as upstream.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
65 files changed:
include/sys/dbuf.h
include/sys/dsl_dataset.h
include/sys/dsl_dir.h
include/sys/spa.h
include/sys/zfs_context.h
module/zcommon/zprop_common.c
module/zfs/arc.c
module/zfs/bplist.c
module/zfs/bptree.c
module/zfs/dbuf.c
module/zfs/ddt.c
module/zfs/ddt_zap.c
module/zfs/dmu.c
module/zfs/dmu_objset.c
module/zfs/dmu_traverse.c
module/zfs/dmu_tx.c
module/zfs/dmu_zfetch.c
module/zfs/dnode.c
module/zfs/dsl_dataset.c
module/zfs/dsl_deadlist.c
module/zfs/dsl_destroy.c
module/zfs/dsl_dir.c
module/zfs/dsl_pool.c
module/zfs/dsl_prop.c
module/zfs/dsl_scan.c
module/zfs/dsl_userhold.c
module/zfs/fm.c
module/zfs/lz4.c
module/zfs/lzjb.c
module/zfs/metaslab.c
module/zfs/range_tree.c
module/zfs/refcount.c
module/zfs/rrwlock.c
module/zfs/sa.c
module/zfs/spa.c
module/zfs/spa_config.c
module/zfs/spa_history.c
module/zfs/spa_misc.c
module/zfs/spa_stats.c
module/zfs/space_map.c
module/zfs/space_reftree.c
module/zfs/txg.c
module/zfs/unique.c
module/zfs/vdev.c
module/zfs/vdev_cache.c
module/zfs/vdev_disk.c
module/zfs/vdev_file.c
module/zfs/vdev_label.c
module/zfs/vdev_mirror.c
module/zfs/vdev_raidz.c
module/zfs/zap.c
module/zfs/zap_leaf.c
module/zfs/zap_micro.c
module/zfs/zfs_acl.c
module/zfs/zfs_debug.c
module/zfs/zfs_fm.c
module/zfs/zfs_ioctl.c
module/zfs/zfs_onexit.c
module/zfs/zfs_rlock.c
module/zfs/zfs_vnops.c
module/zfs/zfs_znode.c
module/zfs/zil.c
module/zfs/zio.c
module/zfs/zpl_xattr.c
module/zfs/zvol.c