Spdk/lib/bdev
paul luse 6fd1d004a8 vbdev: add get_buf call to passthru example
Previously a null buffer on read would get passed on which would
be fine for a simple example but for something more complex where
the module in question might need that buffer at some time after
the read callback, it's possible that an underlying module might
free it too soon.  So, to be a good example we now own the buffer
in this module.

Change-Id: I411477e83b1e222c64011688952cfd587c32c16e
Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.gerrithub.io/422603
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-17 20:56:30 +00:00
..
aio bdev/aio: Add the epoll support 2018-08-14 04:10:36 +00:00
error bdev: split examine into two parts 2018-07-06 21:12:53 +00:00
gpt bdev/gpt: fail more gracefully on extended block size bdevs 2018-08-16 04:38:36 +00:00
iscsi bdev/iscsi: unregister io_device on bdev destruction 2018-07-27 18:58:53 +00:00
lvol bdev/lvol: point directly to lvol->unique_id for bdev name 2018-08-17 00:11:03 +00:00
malloc bdev/malloc: remove blocklen power of 2 restriction 2018-08-15 17:36:00 +00:00
null bdev/null: free global resources on module finish 2018-07-30 15:38:07 +00:00
nvme nvme: add spdk_nvme_ns_get_extended_sector_size 2018-08-16 04:38:10 +00:00
passthru vbdev: add get_buf call to passthru example 2018-08-17 20:56:30 +00:00
pmem bdev: add delete_pmem_bdev call 2018-07-02 22:53:18 +00:00
raid bdev: cleanup registered bdevs in reverse order 2018-08-17 00:11:03 +00:00
rbd bdev/rbd: change the poller to timer poller 2018-07-03 16:40:18 +00:00
rpc bdev: add tracking for time spent processing I/O. 2018-07-31 23:26:07 +00:00
split bdev/split: use bdev_part interface to get split names 2018-08-17 00:11:03 +00:00
virtio bdev/virtio_blk: defer bdev destruct completion 2018-07-31 01:13:07 +00:00
bdev.c bdev: remove vbdevs and base_bdevs arrays 2018-08-17 00:11:03 +00:00
Makefile bdev: add raid bdev module 2018-07-16 20:50:40 +00:00
part.c bdev: remove public usage of bdev_part_base.ref 2018-07-05 19:12:53 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00