Files
mirror_zfs/module
Alexander Motin 42afb12da7 Remove refcount from spa_config_*()
The only reason for spa_config_*() to use refcount instead of simple
non-atomic (thanks to scl_lock) variable for scl_count is tracking,
hard disabled for the last 8 years.  Switch to simple int scl_count
reduces the lock hold time by avoiding atomic, plus makes structure
fit into single cache line, reducing the locks contention.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored-By: iXsystems, Inc.
Closes #12287
2021-07-01 09:16:54 -06:00
..
2021-04-02 18:52:15 -07:00
2021-01-26 16:12:26 -08:00
2020-09-02 09:42:12 -07:00
2021-06-23 17:57:06 -06:00
2020-06-10 09:24:15 -07:00
2021-04-02 18:52:15 -07:00
2021-07-01 09:16:54 -06:00
2021-06-25 22:28:12 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00