Spdk/lib/bdev
Dariusz Stojaczyk e2e6fd3744 bdev: set bdev_io->iovs for all direct IO types
This patch allows unmap bdev_io to
be used with spdk_bdev_io_get_buf.

bdev_io->iovs/iovcnt has been zeroed-out for other
I/O types to overwrite any previous values/pointers.

Change-Id: I570a4d82d9e4db6630a6831b1aab3259fb46cdd8
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/377687
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-09-27 16:10:26 -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 gpt: fixed error-handling for vbdev_gpt_read_gpt 2017-09-25 16:53:52 -04:00
lvol blobstore: always destroy bs_dev during spdk_bs_init() 2017-09-27 13:18:18 -04:00
malloc copy: return 0 on success and appropriate errno on failure 2017-09-25 13:56:29 -04:00
null bdev/null: add Write Zeroes support 2017-09-25 16:31:49 -04:00
nvme bdev/nvme: handle the case for no valid ns when creating bdev 2017-09-26 17:44:32 -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: send IO to proper target 2017-09-26 15:53:29 -04:00
bdev.c bdev: set bdev_io->iovs for all direct IO types 2017-09-27 16:10:26 -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