mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +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:
+1
-1
@@ -1671,7 +1671,7 @@ dnode_setdirty(dnode_t *dn, dmu_tx_t *tx)
|
||||
*/
|
||||
dmu_objset_userquota_get_ids(dn, B_TRUE, tx);
|
||||
|
||||
multilist_t *dirtylist = os->os_dirty_dnodes[txg & TXG_MASK];
|
||||
multilist_t *dirtylist = &os->os_dirty_dnodes[txg & TXG_MASK];
|
||||
multilist_sublist_t *mls = multilist_sublist_lock_obj(dirtylist, dn);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user