aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_dbf.c
diff options
context:
space:
mode:
authorSwen Schillig <swen@vnet.ibm.com>2009-08-18 09:43:19 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-05 09:49:27 -0400
commit564e1c86c810f9ccfe4300afa402815e3db4886d (patch)
treeecb88038c443d6486e9df352c79b3c78be5454ef /drivers/s390/scsi/zfcp_dbf.c
parent42428f747a8a0db9c6de03e105932316defad65d (diff)
[SCSI] zfcp: Move qdio related data out of zfcp_adapter
The zfcp_adapter structure was growing over time to a size of almost one memory page. To reduce the size of the data structure and to seperate different layers, put all qdio related data in the new zfcp_qdio data structure. Signed-off-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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_dbf.c')
-rw-r--r--drivers/s390/scsi/zfcp_dbf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c
index fc7f3d66fe37..3179b08bda6a 100644
--- a/drivers/s390/scsi/zfcp_dbf.c
+++ b/drivers/s390/scsi/zfcp_dbf.c
@@ -274,16 +274,16 @@ void _zfcp_hba_dbf_event_fsf_unsol(const char *tag, int level,
274 274
275/** 275/**
276 * zfcp_hba_dbf_event_qdio - trace event for QDIO related failure 276 * zfcp_hba_dbf_event_qdio - trace event for QDIO related failure
277 * @adapter: adapter affected by this QDIO related event 277 * @qdio: qdio structure affected by this QDIO related event
278 * @qdio_error: as passed by qdio module 278 * @qdio_error: as passed by qdio module
279 * @sbal_index: first buffer with error condition, as passed by qdio module 279 * @sbal_index: first buffer with error condition, as passed by qdio module
280 * @sbal_count: number of buffers affected, as passed by qdio module 280 * @sbal_count: number of buffers affected, as passed by qdio module
281 */ 281 */
282void zfcp_hba_dbf_event_qdio(struct zfcp_adapter *adapter, 282void zfcp_hba_dbf_event_qdio(struct zfcp_qdio *qdio,
283 unsigned int qdio_error, int sbal_index, 283 unsigned int qdio_error, int sbal_index,
284 int sbal_count) 284 int sbal_count)
285{ 285{
286 struct zfcp_dbf *dbf = adapter->dbf; 286 struct zfcp_dbf *dbf = qdio->adapter->dbf;
287 struct zfcp_hba_dbf_record *r = &dbf->hba_dbf_buf; 287 struct zfcp_hba_dbf_record *r = &dbf->hba_dbf_buf;
288 unsigned long flags; 288 unsigned long flags;
289 289