nvme: don't pass the full CQE to nvme_complete_async_event
We only need the status and result fields, and passing them explicitly makes life a lot easier for the Fibre Channel transport which doesn't have a full CQE for the fast path case. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Keith Busch <keith.busch@intel.com> Signed-off-by:
Jens Axboe <axboe@fb.com>
Showing
- drivers/nvme/host/core.c 13 additions, 6 deletionsdrivers/nvme/host/core.c
- drivers/nvme/host/nvme.h 2 additions, 2 deletionsdrivers/nvme/host/nvme.h
- drivers/nvme/host/pci.c 2 additions, 1 deletiondrivers/nvme/host/pci.c
- drivers/nvme/host/rdma.c 2 additions, 1 deletiondrivers/nvme/host/rdma.c
- drivers/nvme/target/loop.c 2 additions, 1 deletiondrivers/nvme/target/loop.c
Please register or sign in to comment