3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb()
commit01f55e48fb4d524eaf70687728aa51b7762e2e97
authorGeorge Wilson <george.wilson@delphix.com>
Wed, 7 Nov 2012 22:05:17 +0000 (7 14:05 -0800)
committerChristopher Siden <chris.siden@delphix.com>
Wed, 7 Nov 2012 22:05:17 +0000 (7 14:05 -0800)
tree5e459803b90e3d2641634af710815ed204d9ea49
parentc523716a48d6b0db35a7fb7d5f677687f18a448f
3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb()
3330 space_seg_t should have its own kmem_cache
3331 deferred frees should happen after sync_pass 1
3335 make SYNC_PASS_* constants tunable
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com>
Reviewed by: Christopher Siden <chris.siden@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Eric Schrock <eric.schrock@delphix.com>
usr/src/uts/common/fs/zfs/metaslab.c
usr/src/uts/common/fs/zfs/spa.c
usr/src/uts/common/fs/zfs/spa_misc.c
usr/src/uts/common/fs/zfs/space_map.c
usr/src/uts/common/fs/zfs/sys/metaslab_impl.h
usr/src/uts/common/fs/zfs/sys/spa.h
usr/src/uts/common/fs/zfs/sys/space_map.h
usr/src/uts/common/fs/zfs/sys/zio_impl.h
usr/src/uts/common/fs/zfs/zio.c