]> git.proxmox.com Git - mirror_zfs.git/commit - module/os/linux/spl/spl-taskq.c
Add basic support for TASKQ_THREADS_CPU_PCT taskq flag which is
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 17:07:52 +0000 (10:07 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 9 Jul 2009 17:07:52 +0000 (10:07 -0700)
commit915404bd509e5231c134042560d86e3ac86c1ab4
tree0de8503858a15030764ccb144e7a8150def5fcd7
parentaaad2f7226d26c8ca3575830d07aa08363f346b3
Add basic support for TASKQ_THREADS_CPU_PCT taskq flag which is
used to scale the number of threads based on the number of online
CPUs.  As CPUs are added/removed we should rescale the thread
count appropriately, but currently this is only done at create.
include/sys/taskq.h
module/spl/spl-taskq.c