+66
−40
Loading
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>