Spdk/lib/bdev
Jim Harris 3178ad6476 env: return fd from spdk_pci_device_claim()
This allows users of this interface to then close the fd
when they want to release the claim.

This prepares for calling spdk_pci_device_claim() in the
nvme driver to cover not just the bdev_nvme driver but all
of our nvme example and test applications as well.  We'll
want the fd returned so that we can properly close it during
detach (including hotplug) use cases.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I8b149cc4e778ba31c0e7045b858c8a1561b6b7af

Reviewed-on: https://review.gerrithub.io/385523
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-03 18:48:33 -04:00
..
aio bdev: remove spdk_bdev_poller_start() lcore option 2017-10-18 20:28:29 -04:00
error bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
gpt bdev/gpt: check against get_io_channel failure 2017-10-19 00:33:06 -04:00
lvol lvol: add lvs name in rpc calls 2017-10-27 13:10:21 -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 env: return fd from spdk_pci_device_claim() 2017-11-03 18:48:33 -04:00
pmem pmem: bdev names for pmem bdevs 2017-10-27 13:10:07 -04:00
rbd bdev: remove spdk_bdev_poller_start() lcore option 2017-10-18 20:28:29 -04:00
rpc bdev: add callback to spdk bdev unregister and bdev destruct 2017-10-26 17:23:58 -04:00
split bdev: add callback to free part_base 2017-10-01 21:57:00 -04:00
virtio bdev/virtio: check if unmap is supported via VPD page 2017-10-30 12:17:50 -04:00
bdev.c event/subsystem/bdev: asynchronous SPDK finish 2017-10-27 13:03:55 -04:00
Makefile bdev_virtio: added --without-virtio configure flag 2017-10-19 19:06:12 -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