Spdk/lib/bdev
Dariusz Stojaczyk f67dddc6f4 bdev_virtio: fix memleak on init failure
This patch also introduces
vq->poller_ctx. It will be later
reused for per-virtqueue task pools
to allow multiple threads using
the same virtqueue.

Since at the time of scanning there
is no I/O traffic, this field is
now being used to keep scan base
pointer. It has to be freed if an
initialization error occurs.

Change-Id: Ia54ee6c8402d38218dc811b4994761105d17269a
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/382199
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-10-17 15:21:09 -04:00
..
aio bdev: add ENOMEM handling 2017-10-01 21:57:00 -04:00
error bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
gpt bdev/gpt: change the log level. 2017-10-11 14:00:16 -04:00
lvol bdev/lvol: fix total_blocks and free_blocks names 2017-10-17 13:59:34 -04:00
malloc bdev/malloc: allow user to specify bdev name 2017-10-11 23:55:45 -04:00
null bdev/null: add Write Zeroes support 2017-09-25 16:31:49 -04:00
nvme bdev: add ENOMEM handling 2017-10-01 21:57:00 -04:00
pmem bdev_pmem: pmem pool file managment via RPC 2017-10-13 10:48:39 -04:00
rbd bdev/rbd: combine readv and writev functions 2017-10-13 15:25:51 -04:00
rpc bdev: remove bdev_opened_for_write restriction 2017-09-20 14:43:32 -04:00
split bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
virtio bdev_virtio: fix memleak on init failure 2017-10-17 15:21:09 -04:00
bdev.c bdev: added spdk_bdev_io_get_thread() 2017-10-17 15:21:09 -04:00
Makefile bdev_pmem: initial implementation of persistent memory bdev 2017-09-29 14:04:32 -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