Spdk/lib
Daniel Verkamp 364d4fdfe0 bdev: add spdk_bdev_get_uuid() function
Add a generic way to get a UUID from a bdev.

For now, malloc and null bdevs generate random UUIDs, and no other bdev
types report a UUID.

Change-Id: Id9608c8c1b3ce3f1783e7f74bef96d44cd5d98a7
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/402177
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2018-03-08 10:49:51 -05:00
..
bdev bdev: add spdk_bdev_get_uuid() function 2018-03-08 10:49:51 -05:00
blob blob: persist super_blob id on blobstore immediately 2018-03-08 00:14:36 -05:00
blobfs blobfs: cleanup and add comments in deleted file cleanup path 2018-03-02 15:30:32 -05:00
conf conf: Remove use of perror() for strdup() failure 2017-12-15 16:13:27 -05:00
copy build: remove $(ENV_CFLAGS) where not necessary 2018-01-03 12:05:59 -05:00
cunit include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
env_dpdk scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
event event: remove two deprecated functions 2018-03-05 20:34:49 -05:00
ioat scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
iscsi iscsi: Remove the variable ntargets from iscsi global params 2018-03-07 19:07:09 -05:00
json json: add va_arg versions for write_string and write_named_string 2018-02-23 15:27:16 -05:00
jsonrpc jsonrpc: add spdk_jsonrpc_send_error_response_fmt 2018-02-23 15:27:16 -05:00
log log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
lvol util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
nbd nbd: improve nbd to handle overlapped I/O 2018-01-16 09:59:21 -05:00
net scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
nvme util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
nvmf util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
rocksdb env_spdk: make sure the Randomaccessfile opened as rocksdb posix env. 2018-01-12 12:57:23 -05:00
rpc rpc: remove the existing socket file when application starts 2018-03-02 16:48:53 -05:00
scsi scripts/check_format: check for spaces before tabs 2018-03-05 11:09:13 -05:00
trace util: add spdk_strerror() wrapper with TLS support 2018-01-04 15:00:09 -05:00
ut_mock test/mock: add pthread_self 2017-09-19 17:15:15 -04:00
util util: add uuid.h to wrap libuuid 2018-03-08 10:49:51 -05:00
vhost vhost: always inline spdk_vhost_dev_has_feature 2018-02-20 12:35:21 -05:00
virtio virtio/user: implement get/set config messages 2018-02-23 15:37:11 -05:00
Makefile virtio: add new library virtio 2017-12-26 13:03:29 -05:00