+9
−9
Loading
Registrant related fields use the biggest part of struct spdk_scsi_lun, and it's usually *not* hot code path. Move them to the end of structure. Also swap 'uint32_t pr_generation', is's possible to reduce memory in the next step. Suggested-by:Jim Harris <jim.harris@samsung.com> Change-Id: Ie544efe01ca42162c056dc84deec5e5c338a4eb9 Signed-off-by:
zhenwei pi <pizhenwei@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20709 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot