aboutsummaryrefslogtreecommitdiffstats
path: root/zfs.release.in
diff options
context:
space:
mode:
authorAlexander Motin <[email protected]>2021-07-01 11:16:54 -0400
committerGitHub <[email protected]>2021-07-01 09:16:54 -0600
commit42afb12da70f1fd73c7fcf653d5e2bf42f05b42b (patch)
tree34742eff40f1336babe913162a8d8c0715eaa1a9 /zfs.release.in
parentcfc564f9b11eed1421789fa018f7b3d141cc18d0 (diff)
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 <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Mark Maybee <[email protected]> Signed-off-by: Alexander Motin <[email protected]> Sponsored-By: iXsystems, Inc. Closes #12287
Diffstat (limited to 'zfs.release.in')
0 files changed, 0 insertions, 0 deletions