Spdk/lib/bdev
Jim Harris 0d8783cabc bdev/passthru: check early for duplicate passthru bdev names
The bdev layer will sort of check this when we try to
register the bdev, but it's better to catch this much
earlier.  That way we catch it when the name gets inserted
into the list, rather than when the base bdev appears.

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

Reviewed-on: https://review.gerrithub.io/432602
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2018-11-12 20:14:32 +00:00
..
aio bdev: rename need_aligned_buffer to required_alignment 2018-11-05 22:32:58 +00:00
crypto bdev: rename need_aligned_buffer to required_alignment 2018-11-05 22:32:58 +00:00
error bdev: remove "v" prefix from vbdev library names 2018-11-01 21:25:55 +00:00
gpt bdev/gpt: replace a ERRLOG with DEBUGLOG in check_mbr 2018-11-05 17:28:01 +00:00
iscsi bdev: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
lvol bdev: rename need_aligned_buffer to required_alignment 2018-11-05 22:32:58 +00:00
malloc Make: Add deps for each shared obj individually 2018-10-09 21:45:26 +00:00
null thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
nvme bdev_nvme: tolerate failure on bdev creation 2018-11-07 17:21:04 +00:00
passthru bdev/passthru: check early for duplicate passthru bdev names 2018-11-12 20:14:32 +00:00
pmem thread: Add a name parameter to spdk_register_io_device 2018-09-05 16:00:54 +00:00
raid bdev/raid: raid_bdev_add_base_device: fix wrong param in log 2018-11-02 22:19:02 +00:00
rbd bdev: Use not C++ style comments // but C-style comments /* */ 2018-10-31 22:01:47 +00:00
rpc QoS/Bdev: add the RPC support for the bandwidth rate limit 2018-10-09 18:26:44 +00:00
split bdev: remove "v" prefix from vbdev library names 2018-11-01 21:25:55 +00:00
virtio bdev/virtio: deprecate remove_virtio_scsi_bdev RPC 2018-10-18 22:02:48 +00:00
bdev.c bdev: double buffering for unaligned buffers 2018-11-08 23:11:17 +00:00
Makefile CONFIG: add missing CONFIG_ options 2018-10-04 21:31:42 +00:00
part.c bdev: rename need_aligned_buffer to required_alignment 2018-11-05 22:32:58 +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 mk: don't use '-include spdk/config.h' 2018-10-02 23:13:32 +00:00