HomeFreeBSD

MFC r361630: Remove session locking from cfiscsi_pdu_update_cmdsn().

Description

MFC r361630: Remove session locking from cfiscsi_pdu_update_cmdsn().

cs_cmdsn can be incremented with single atomic. expcmdsn/maxcmdsn set in
cfiscsi_pdu_prepare() based on cs_cmdsn are not required to be updated
synchronously, only monotonically, that is achieved with lock there.

Details

Provenance
mavAuthored on
Parents
rS361952: MFC r361625: Report STATUS_QUEUED/SENT in `ctladm dumpooa` output.
Branches
Unknown
Tags
Unknown