mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-27 04:32:16 +03:00
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> References: illumos/illumos-gate@01f55e48fb https://www.illumos.org/issues/3329 https://www.illumos.org/issues/3330 https://www.illumos.org/issues/3331 https://www.illumos.org/issues/3335 Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
committed by
Brian Behlendorf
parent
5853fe790d
commit
55d85d5a8c
+1
-1
@@ -6078,7 +6078,7 @@ spa_sync(spa_t *spa, uint64_t txg)
|
||||
spa_errlog_sync(spa, txg);
|
||||
dsl_pool_sync(dp, txg);
|
||||
|
||||
if (pass <= SYNC_PASS_DEFERRED_FREE) {
|
||||
if (pass < zfs_sync_pass_deferred_free) {
|
||||
zio_t *zio = zio_root(spa, NULL, NULL, 0);
|
||||
bplist_iterate(free_bpl, spa_free_sync_cb,
|
||||
zio, tx);
|
||||
|
||||
Reference in New Issue
Block a user