target: Shrink struct se_cmd by rearranging fields
authorRoland Dreier <[email protected]>
Wed, 22 Jul 2015 00:45:33 +0000 (17:45 -0700)
committerNicholas Bellinger <[email protected]>
Fri, 31 Jul 2015 07:10:33 +0000 (00:10 -0700)
commit915270c3cacfc80cb3fe7fdd8130439039a85bbb
tree81f58c786fc979898a2192b62b3e7ed93f5526d7
parent9c31820b6ab93ec298ad98abeee49759b5f5958c
target: Shrink struct se_cmd by rearranging fields

On x86-64, these changes reduce the struct size from 528 bytes to 496
bytes.  We save a cacheline and get under 512 bytes for better packing.

Signed-off-by: Roland Dreier <[email protected]>
Acked-by: Sagi Grimberg <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
include/target/target_core_base.h