]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-fabrics: set sqe.command_id in core not transports
authorJames Smart <james.smart@broadcom.com>
Fri, 21 Oct 2016 20:33:34 +0000 (23:33 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Tue, 6 Dec 2016 08:17:03 +0000 (10:17 +0200)
commit2dcc55f97990bb1c4113e9d0d4d9a954e0bc99fe
tree8f105755b31372f079416a31fbc24de13b9e46b2
parent73d04a6fad3414b3523ec8a23825e805f1ef77d3
nvme-fabrics: set sqe.command_id in core not transports

Currently, core.c sets command_id only on rd/wr commands, leaving it to
the transport to set it again to ensure the request had a command id.

Move location of set in core so applies to all commands.
Remove transport sets.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c