nvme: cache struct nvme_ctrl reference to struct nvme_request
authorSagi Grimberg <sagi@grimberg.me>
Fri, 29 Jun 2018 22:50:00 +0000 (16:50 -0600)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Jul 2018 07:35:18 +0000 (09:35 +0200)
commit59e29ce66bc52ebd6d0cb450f13079c7e913430d
tree8882b25c96d7db76f083bb6ecaad24676e55dc08
parent202093848cac2da7d92ae666b51b7109bbab633c
nvme: cache struct nvme_ctrl reference to struct nvme_request

We will need to reference the controller in the setup and completion
time for tracing and future traffic based keep alive support.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/target/loop.c