[SCSI] libfc: cache align struct fc_fcp_pkt fields
authorVasu Dev <vasu.dev@intel.com>
Wed, 28 Sep 2011 04:37:57 +0000 (21:37 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 2 Oct 2011 17:55:07 +0000 (12:55 -0500)
commited26cfece6177310ad8f5896651a3187ce02711c
tree2997e4c698ce773d1fb6867a6daea0cfdd264737
parent5c609ff937a91cf09b1f8d7612cd00bc046c27f7
[SCSI] libfc: cache align struct fc_fcp_pkt fields

Re-arrange its fields to avoid padding and have better
cacheline alignments.

Removed not used start_time, end_time and last_pkt_time
fields.

This all reduced this struct size to 448 from 480 and
that also reduced one cacheline on x86_64 beside
eliminating 8 pads. However kept logical fields together.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libfc/fc_fcp.c
include/scsi/libfc.h