libfc: Reduce exchange lock contention in fc_exch_recv_abts()
authorBart Van Assche <bvanassche@acm.org>
Wed, 14 Aug 2013 15:38:24 +0000 (15:38 +0000)
committerRobert Love <robert.w.love@intel.com>
Wed, 4 Sep 2013 20:37:53 +0000 (13:37 -0700)
commitf95b35cfcacadac16dbc5477fd22b0786256a3d1
tree18441baa204e00aa8327c71408a2a3bd9df96d46
parentcae7b6dd6c569f18f5c8e3f33cac60fbaeb58140
libfc: Reduce exchange lock contention in fc_exch_recv_abts()

Reduce the time during which the exchange lock is held by allocating
a frame before obtaining the exchange lock.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
drivers/scsi/libfc/fc_exch.c