diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2009-11-24 10:54:14 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 13:02:16 -0500 |
commit | ee744622c65cd66824e8dd1b9509e515c800de14 (patch) | |
tree | 4925603f5170400b07cde7cc18d2519cfcf788e2 /drivers/s390/scsi/zfcp_def.h | |
parent | 7c7dc196814b9e1d5cc254dc579a5fa78ae524f7 (diff) |
[SCSI] zfcp: Improve ELS ADISC handling
Introduce kmem_cache for ELS ADISC data to guarantee the required
hardware alignment and free the allocated memory in case the send
failes.
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>
Diffstat (limited to 'drivers/s390/scsi/zfcp_def.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_def.h b/drivers/s390/scsi/zfcp_def.h index 21b29804a7a6..469d57f105db 100644 --- a/drivers/s390/scsi/zfcp_def.h +++ b/drivers/s390/scsi/zfcp_def.h | |||
@@ -347,6 +347,7 @@ struct zfcp_data { | |||
347 | struct kmem_cache *qtcb_cache; | 347 | struct kmem_cache *qtcb_cache; |
348 | struct kmem_cache *sr_buffer_cache; | 348 | struct kmem_cache *sr_buffer_cache; |
349 | struct kmem_cache *gid_pn_cache; | 349 | struct kmem_cache *gid_pn_cache; |
350 | struct kmem_cache *adisc_cache; | ||
350 | }; | 351 | }; |
351 | 352 | ||
352 | /********************** ZFCP SPECIFIC DEFINES ********************************/ | 353 | /********************** ZFCP SPECIFIC DEFINES ********************************/ |