diff options
author | 2020-06-17 18:46:41 +0200 | |
---|---|---|
committer | 2020-06-20 09:15:33 +0000 | |
commit | 21d2052c7afb77e3a600090bb043913042a3102f (patch) | |
tree | a2ff15be3d766e68194987394f084c6bdd9f469b /net/unix/af_unix.c | |
parent | Drivers: hv: vmbus: Remove unnecessary channel->lock critical sections (sc_list updaters) (diff) | |
download | linux-dev-21d2052c7afb77e3a600090bb043913042a3102f.tar.xz linux-dev-21d2052c7afb77e3a600090bb043913042a3102f.zip |
scsi: storvsc: Introduce the per-storvsc_device spinlock
storvsc uses the spinlock of the hv_device's primary channel to
serialize modifications of stor_chns[] performed by storvsc_do_io()
and storvsc_change_target_cpu(), when it could/should use a (per-)
storvsc_device spinlock: this change untangles the synchronization
mechanism for the (storvsc-specific) stor_chns[] array from the
"generic" VMBus code and data structures, clarifying the scope of
this synchronization mechanism.
Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@gmail.com>
Link: https://lore.kernel.org/r/20200617164642.37393-8-parri.andrea@gmail.com
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions