tcm_qla2xxx: Offload WRITE I/O backend submission to tcm_qla2xxx wq
authorChristoph Hellwig <hch@infradead.org>
Sun, 8 Jul 2012 19:58:44 +0000 (15:58 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 17 Jul 2012 00:35:19 +0000 (17:35 -0700)
commit43381ce8bb14d2536102fe700b43e97da1410169
treeddef0a2b19ce900469d70fe2bf94c497249f056a
parente672a47fd99b47589dfe2f85759e4c8de526196b
tcm_qla2xxx: Offload WRITE I/O backend submission to tcm_qla2xxx wq

Defer the whole tcm_qla2xxx_handle_data call instead of just the error
path to the qla2xxx-internal workqueue.  Also remove the useless lock around
the CMD_T_ABORTED check.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Giridhar Malavali <giridhar.malavali@qlogic.com>
Cc: tcm-qla2xxx@qlogic.com
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.h
drivers/scsi/qla2xxx/tcm_qla2xxx.c