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

iscsi-target: Convert iscsi_session statistics to atomic_long_t



This patch converts a handful of iscsi_session statistics to type
atomic_long_t, instead of using iscsi_session->session_stats_lock
when incrementing these values.

More importantly, go ahead and drop the spinlock usage within
iscsit_setup_scsi_cmd(), iscsit_check_dataout_hdr(),
iscsit_send_datain(), and iscsit_build_rsp_pdu() fast-path code.

(Squash in Roland's  target: Remove write-only stats fields and lock
from struct se_node_acl)

Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent ee480683
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