]> granicus.if.org Git - zfs/commit
Illumos 5176 - lock contention on godfather zio
authorMatthew Ahrens <mahrens@delphix.com>
Wed, 17 Sep 2014 06:59:43 +0000 (08:59 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 7 Oct 2014 18:24:24 +0000 (11:24 -0700)
commite022864d19ee124c88f6fb9018e4b2d2cec76a08
treecd062dd917f66afce6fcdfd38f5da8548dde0c39
parent07a3312f170ac56cb480b0df9fdf4c83f116b59b
Illumos 5176 - lock contention on godfather zio

5176 lock contention on godfather zio
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>

References:
  https://www.illumos.org/issues/5176
  https://github.com/illumos/illumos-gate/commit/6f834bc

Porting notes:

Under Linux max_ncpus is defined as num_possible_cpus().  This is
largest number of cpu ids which might be available during the life
time of the system boot.  This value can be larger than the number
of present cpus if CONFIG_HOTPLUG_CPU is defined.

Ported by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2711
cmd/zdb/zdb.c
include/sys/spa_impl.h
module/zfs/spa.c
module/zfs/zio.c