mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Re-embed multilist_t storage
This commit partially reverts changes to multilists in PR 7968 (multi-threaded spa-sync()) and adds some cache line alignments to separate read-only multilists and heavily modified refcount's to different cache lines. Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Alexander Motin <mav@FreeBSD.org> Sponsored-by: iXsystems, Inc. Closes #12158
This commit is contained in:
@@ -568,8 +568,7 @@ dsl_pool_sync_mos(dsl_pool_t *dp, dmu_tx_t *tx)
|
||||
VERIFY0(zio_wait(zio));
|
||||
dmu_objset_sync_done(dp->dp_meta_objset, tx);
|
||||
taskq_wait(dp->dp_sync_taskq);
|
||||
multilist_destroy(dp->dp_meta_objset->os_synced_dnodes);
|
||||
dp->dp_meta_objset->os_synced_dnodes = NULL;
|
||||
multilist_destroy(&dp->dp_meta_objset->os_synced_dnodes);
|
||||
|
||||
dprintf_bp(&dp->dp_meta_rootbp, "meta objset rootbp is %s", "");
|
||||
spa_set_rootblkptr(dp->dp_spa, &dp->dp_meta_rootbp);
|
||||
|
||||
Reference in New Issue
Block a user