]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit721b3917c4ae222085c6de70c24b73b0e7950b35
tree8f105755b31372f079416a31fbc24de13b9e46b2
parenta317178e36b52f5f24ad226a77403eeea5ac05c4
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