Loading
bdev/nvme: clean up submit_request return codes
Some of the internal functions used to return the number of bytes associated with a successfully submitted IO, but that was changed a while ago to just return 0 for success. So change some of the callers of these functions to just look for != 0 for failure rather than < 0. This preps for some upcoming ENOMEM handling changes. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I0a66dd6bfac9053e0fd6103dee1ea36b20d902df Reviewed-on: https://review.gerrithub.io/378856 Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com>