summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/host/fabrics.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2023-05-01 14:40:29 +0200
committerKeith Busch <kbusch@kernel.org>2023-06-12 10:36:55 -0700
commit92bbe55182affa9f3b00a266d5f41fbc8a2114d6 (patch)
treeecfbc5751839499e5aeac8a77543c04a83eae0bb /drivers/nvme/host/fabrics.c
parent0f5335e15897fa989ffc301e4657ed5aa7b62f9f (diff)
downloadlinux-92bbe55182affa9f3b00a266d5f41fbc8a2114d6.tar.gz
linux-92bbe55182affa9f3b00a266d5f41fbc8a2114d6.tar.bz2
linux-92bbe55182affa9f3b00a266d5f41fbc8a2114d6.zip
nvmet: reorder fields in 'struct nvmefc_fcp_req'
Group some variables based on their sizes to reduce holes. On x86_64, this shrinks the size of 'struct nvmefc_fcp_req' from 112 to 104 bytes. This structure is embedded in some other structures (nvme_fc_fcp_op which itself is embedded in nvme_fcp_op_w_sgl), so it helps reducing the size of these structures too. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme/host/fabrics.c')
0 files changed, 0 insertions, 0 deletions