]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dbuf.c
Re-embed multilist_t storage
authorAlexander Motin <mav@FreeBSD.org>
Thu, 10 Jun 2021 16:42:31 +0000 (12:42 -0400)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 16:42:31 +0000 (10:42 -0600)
commitffdf019cb317b16109ec74ae199d4253a6662f5a
treeb30e19ee6488d623e3680867cff19e17d7ce1b71
parenteec5ba113e1d285d445333079a3e8184872ad00a
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
12 files changed:
include/sys/arc_impl.h
include/sys/dmu_objset.h
include/sys/metaslab_impl.h
include/sys/multilist.h
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu_objset.c
module/zfs/dnode.c
module/zfs/dsl_dataset.c
module/zfs/dsl_pool.c
module/zfs/metaslab.c
module/zfs/multilist.c