Spdk/test/unit/lib/bdev
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
..
bdev_zone.c bdev/zone: add support for get num zones 2021-04-26 16:16:42 +00:00
bdev.c bdev: add write zeroes split support 2021-06-17 09:00:05 +00:00
compress.c test/compress: fix Wstringop-overflow warnings 2021-07-07 07:27:01 +00:00
crypto.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
gpt module/bdev_gpt: remove spdk prefix from static/internal functions. 2020-05-15 07:58:03 +00:00
mt mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
nvme bdev/nvme: prefer NGUID over UUID if supported 2021-07-09 07:02:11 +00:00
part.c mk/unit: link with trace library 2021-06-10 10:58:05 +00:00
pmem remove unneeded spdk_internal/thread.h includes 2020-12-10 14:38:04 +00:00
raid thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
scsi_nvme.c ut: make use of CUnit macro to reduce duplications 2020-04-02 14:50:12 +00:00
vbdev_lvol.c bdev: speed up bdev name lookup by using rbtree 2021-05-26 09:22:06 +00:00
vbdev_zone_block.c thread: Make the definition of struct spdk_io_channel private 2021-06-25 05:01:45 +00:00
Makefile ut/bdev_ocssd: Move bdev_ocssd_ut from bdev directory to bdev/nvme directory 2021-02-09 11:29:53 +00:00