[SCSI] zfcp: create private slab caches to guarantee proper data alignment
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 18 Sep 2006 20:28:49 +0000 (22:28 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 23 Sep 2006 22:54:24 +0000 (17:54 -0500)
commitdd52e0eaf891cd85bf2ca057c15ed6bfd76db4e6
treedc457fe1b732716b715c05864ab02be767414cb4
parentd136205182b1ea4897da31e325a296f8831a6796
[SCSI] zfcp: create private slab caches to guarantee proper data alignment

Create private slab caches in order to guarantee proper alignment of
data structures that get passed to hardware.

Sidenote: with this patch slab cache debugging will finally work on s390
(at least no known problems left).

Furthermore this patch does some minor cleanups:
- store ptr for transport template in struct zfcp_data

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andreas Herrmann <aherrman@de.ibm.com>
Compile fix ups and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_def.h
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_fsf.c
drivers/s390/scsi/zfcp_scsi.c