Spdk/test/unit/lib
Jacek Kalwas 1f433c4c32 bdev/nvme: prefer NGUID over UUID if supported
NVMe specification defines namespace identification descriptors i.e.
EUI64, NGUID, UUID.

BDEV abstracts NVMe specific details that is why only UUID is exposed,
however if NGUID is supported it is prefered to identify namespace
with NGUID over UUID.

If NGUID is not supported by NVMe Controller then fallback to UUID.

Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com>
Change-Id: If51889a3664c0daa7cbe983048231793e3c502e0
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8627
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-07-09 07:02:11 +00:00
..
accel thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
bdev bdev/nvme: prefer NGUID over UUID if supported 2021-07-09 07:02:11 +00:00
blob thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
blobfs thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
env_dpdk unit: add unit test for the pci event 2021-04-19 12:55:17 +00:00
event ut/event: fix cpumask resetting for scheduler tests 2021-06-28 16:18:19 +00:00
ftl thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
idxd idxd: refactor flow control for idxd engine 2021-06-29 00:46:25 +00:00
init event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
ioat ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
iscsi mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
json json: add spdk_json_free_object() 2020-10-19 10:02:10 +00:00
jsonrpc lib/jsonrpc: remove spdk_ prefix from internal functions. 2020-05-11 12:29:07 +00:00
log log: simplify SPDK_LOG_REGISTER_COMPONENT 2020-10-14 08:00:35 +00:00
lvol thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
notify ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
nvme nvme: change nvme_transport_ctrlr_delete_io_qpair to void 2021-07-07 07:27:40 +00:00
nvmf test/nvmf/subsystem: cases for subsystem ctrlr adding and removing 2021-07-05 14:36:45 +00:00
reduce test: add generic unlink wrapper 2020-05-06 12:43:57 +00:00
scsi scsi: Delete mutex from spdk_scsi_globals 2021-06-17 08:59:18 +00:00
sock sock: Add sock_map_find_free 2021-04-22 07:29:26 +00:00
thread thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
util util/crc32c: Add spdk_crc32c_iov_update. 2021-06-02 11:37:17 +00:00
vhost lib/vhost: force cpumask to be subset of application's CPU mask 2021-02-04 08:35:08 +00:00
json_mock.c ut/json_mock: Add spdk_json_write_string_fmt() 2021-02-09 11:29:53 +00:00
Makefile event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00