Spdk/lib/vhost
Daniel Verkamp 1d168901c6 vhost/nvme: factor out task completion function
This clarifies the bdev_io completion callbacks, since they can now
assume that they always have a valid bdev_io. All call sites that
originally passed NULL for bdev_io now set an appropriate status code in
the task and complete it with the new spdk_vhost_nvme_task_complete()
function.

Change-Id: Id74aafb28e83e135bbb0a410ff9766dc1b9ece50
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/410080
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-05-07 20:11:02 +00:00
..
rte_vhost vhost/nvme: remove unused get/set features data buffer 2018-05-04 16:44:03 +00:00
Makefile vhost_user_nvme: add vhost user nvme target to SPDK 2018-04-03 15:01:24 -04:00
vhost_blk.c vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
vhost_internal.h vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00
vhost_nvme.c vhost/nvme: factor out task completion function 2018-05-07 20:11:02 +00:00
vhost_rpc.c rpc: Add state_mask to each RPC method to make sets of RPCs 2018-05-03 19:48:15 +00:00
vhost_scsi.c vhost/scsi: handle spdk_vhost_gpa_to_vva() failure 2018-04-24 16:02:58 +00:00
vhost.c vhost_scsi: support initiators without eventq/controlq 2018-04-23 20:23:30 +00:00