target: Shrink struct se_cmd by rearranging fields
authorRoland Dreier <roland@purestorage.com>
Wed, 22 Jul 2015 00:45:33 +0000 (17:45 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
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 <roland@purestorage.com>
Acked-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
include/target/target_core_base.h