numam-spdk/test/unit/lib/scsi/lun.c
Jim Harris 57d174ff67 bdev: add spdk_bdev_open/close
Retire the old claim/unclaim semantics in favor of
open/close.  Clients must now open a bdev to get
an spdk_bdev_desc, then pass this desc to get an
I/O channel.

This allows multiple clients to open a bdev,
although only one may open a bdev with write
access.

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

Reviewed-on: https://review.gerrithub.io/367611
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-07-05 18:04:28 -04:00
..
.gitignore test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00
lun_ut.c bdev: add spdk_bdev_open/close 2017-07-05 18:04:28 -04:00
Makefile test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00