Spdk/lib/bdev
Jim Harris 49cf3861d1 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>
2017-09-25 13:56:29 -04:00
..
aio bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
error bdev/error: use bdev_part helper functions 2017-09-12 11:16:50 -04:00
gpt bdev/gpt: fix use after free of gpt_base 2017-09-14 14:26:40 -04:00
lvol lvol: remove page_size field from lvol store struct 2017-09-22 15:53:06 -04:00
malloc bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
null bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
nvme bdev/nvme: clean up submit_request return codes 2017-09-25 13:56:29 -04:00
rbd bdev: unify all direct bdev_io I/O types 2017-09-22 13:44:25 -04:00
rpc bdev: remove bdev_opened_for_write restriction 2017-09-20 14:43:32 -04:00
split bdev: add common partition helper functions 2017-09-12 11:16:50 -04:00
virtio bdev/virtio: simplify READ/WRITE 10/16 logic 2017-09-22 15:39:15 -04:00
bdev.c bdev: clean up spdk_bdev_io_complete a bit 2017-09-25 13:56:29 -04:00
Makefile lvol: Logical volume implementation 2017-09-14 19:30:54 -04:00
scsi_nvme.c nvme_spec: remove SGL Sub Type Invalid status code 2017-09-22 17:11:53 -04:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00