]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita3a204f0e051bc575b2bb7856352a41026793594
treedc457fe1b732716b715c05864ab02be767414cb4
parent3833287b17317e491b33817bf86cf677aa5cf930
[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