diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-03-02 07:09:01 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-03-12 13:58:19 -0400 |
commit | 8fdf30d5429605a4c30cc515c73e5eab140035de (patch) | |
tree | 8aeaa2409b6f770a4dfafb00955579ae9288ba5e /drivers/s390/scsi/zfcp_aux.c | |
parent | 63caf367e1c92e0667a344d9b687c04e6ef054b5 (diff) |
[SCSI] zfcp: Send ELS ADISC from workqueue
Issue ELS ADISC requests from workqueue. This allows the link test
request to be sent when the request queue is full due to I/O load for
other remote ports. It also simplifies request queue locking,
zfcp_fsf_send_fcp_command_task is now the only function that has
interrupts disabled from the caller. This is also a prereq for the FC
passthrough support that issues ELS requests from userspace.
Acked-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 969a3f093037..1e16ab58b242 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -604,6 +604,7 @@ struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *adapter, u64 wwpn, | |||
604 | init_waitqueue_head(&port->remove_wq); | 604 | init_waitqueue_head(&port->remove_wq); |
605 | INIT_LIST_HEAD(&port->unit_list_head); | 605 | INIT_LIST_HEAD(&port->unit_list_head); |
606 | INIT_WORK(&port->gid_pn_work, zfcp_erp_port_strategy_open_lookup); | 606 | INIT_WORK(&port->gid_pn_work, zfcp_erp_port_strategy_open_lookup); |
607 | INIT_WORK(&port->test_link_work, zfcp_fc_link_test_work); | ||
607 | 608 | ||
608 | port->adapter = adapter; | 609 | port->adapter = adapter; |
609 | port->d_id = d_id; | 610 | port->d_id = d_id; |