mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
spl: remove old atomic lock
Long ago, SPL atomics were implemented as a global spinlock over conventional operations. In5e9b5d832b(2009-10) they was converted to proper atomics, with the spinlock retained as a fallback. The switch to compile with the fallback was later removed ina91258913f(2018-05), but the code it enabled wasn't. So lets do that. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #18117
This commit is contained in:
committed by
Brian Behlendorf
parent
2f1f25217f
commit
2ca6e880da
@@ -69,7 +69,6 @@ ccflags-$(CONFIG_SPARC64) += -Wno-unused-value
|
||||
obj-$(CONFIG_ZFS) := spl.o zfs.o
|
||||
|
||||
SPL_OBJS := \
|
||||
spl-atomic.o \
|
||||
spl-condvar.o \
|
||||
spl-cred.o \
|
||||
spl-err.o \
|
||||
|
||||
Reference in New Issue
Block a user