Skip to content
Commit ee480683 authored by Nicholas Bellinger's avatar Nicholas Bellinger
Browse files

target: Convert se_device statistics to atomic_long_t



This patch converts the handful of se_device statistics to type
atomic_long_t, instead of using se_device->stats_lock when
incrementing these values.

More importantly, go ahead and drop the spinlock usage within
transport_lookup_cmd_lun() fast-path code.

Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 29f4c090
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment