linux/drivers/s390/scsi
Christof Schmitt 143bb6bfe3 [SCSI] zfcp: Defer resource allocation to first ccw_set_online call
So far, zfcp allocated all resources required for FCP
adapters/subchannels when the device was discovered in the ccw_probe
callback. If there are lots of unused FCP subchannels attached to a
system, this is a waste of resources. To alleviate this, defer the
resource allocation to the first call to ccw_set_online. To avoid
disruptions during possible following calls to ccw_set_offline and
then ccw_set_online, keep the adapter resources until the device is
finally being removed via ccw_remove. While doing this, also manage
the zfcp erp thread together with all other adapter resources in
zfcp_adapter_enqueue/dequeue.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-09-05 08:49:41 -05:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Defer resource allocation to first ccw_set_online call 2009-09-05 08:49:41 -05:00
zfcp_ccw.c [SCSI] zfcp: Defer resource allocation to first ccw_set_online call 2009-09-05 08:49:41 -05:00
zfcp_cfdc.c [SCSI] zfcp: Reference counting for cfdc requests 2009-04-27 10:07:36 -05:00
zfcp_dbf.c [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_dbf.h [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_def.h [SCSI] zfcp: Simplify and update ct/gs and els timeout handling 2009-09-05 08:49:38 -05:00
zfcp_erp.c [SCSI] zfcp: Defer resource allocation to first ccw_set_online call 2009-09-05 08:49:41 -05:00
zfcp_ext.h [SCSI] zfcp: Apply common naming conventions to zfcp_fc 2009-09-05 08:49:33 -05:00
zfcp_fc.c [SCSI] zfcp: Simplify and update ct/gs and els timeout handling 2009-09-05 08:49:38 -05:00
zfcp_fsf.c [SCSI] zfcp: Simplify and update ct/gs and els timeout handling 2009-09-05 08:49:38 -05:00
zfcp_fsf.h [SCSI] zfcp: Move debug data from zfcp_data to own data structure 2009-09-05 08:49:06 -05:00
zfcp_qdio.c [SCSI] zfcp: introduce _setup, _destroy for qdio and FC 2009-09-05 08:49:32 -05:00
zfcp_scsi.c [SCSI] zfcp: resolve false usage of dd_data in fc_rport 2009-09-05 08:49:35 -05:00
zfcp_sysfs.c [SCSI] zfcp: Apply common naming conventions to zfcp_fc 2009-09-05 08:49:33 -05:00