+8
−8
Loading
Move *removed* and *resizing* to the front of struct spdk_scsi_lun, there are 2 benefits: - reduce memory - the two fields work in hot path, they are tested on each task execution Also move *ref* to the neighbor of *pr_generation*. Finally, we reduce 16 bytes(1080 -> 1064). Change-Id: Ia3705a0e765fc5183fce836eb8f6684a79cd1353 Signed-off-by:zhenwei pi <pizhenwei@bytedance.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21923 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Community-CI: Mellanox Build Bot