]> granicus.if.org Git - zfs/commit
Illumos #3552, #3564
authorGeorge Wilson <george.wilson@delphix.com>
Sat, 15 Jun 2013 03:30:35 +0000 (22:30 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 19 Jun 2013 23:22:39 +0000 (16:22 -0700)
commite51be06697762215dc3b679f8668987034a5a048
tree84446c5dbac3de2f8f9bee1fe67bb41096a6dfc8
parentc99c90015ece64746e20b74245caca41d1dbefe1
Illumos #3552, #3564

3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread
3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing)
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>

References:
  illumos/illumos-gate@16a4a8074274d2d7cc408589cf6359f4a378c861
  https://www.illumos.org/issues/3552
  https://www.illumos.org/issues/3564

Ported-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1513
cmd/zdb/zdb.c
include/sys/metaslab_impl.h
include/sys/space_map.h
module/zfs/metaslab.c
module/zfs/space_map.c
module/zfs/vdev.c