Loading
bdev/nvme: Add UUID and EUI64 comparison to check if two namespaces are identical
Following Linux NVMe host, add UUID and EUI64 comparison to bdev_nvme_compare_ns(). Besides, previously the return value of memcmp() had been used as the return value of bdev_nvme_compare_ns() and this was wrong. Fix it in this patch together. Add unit test cases for bdev_nvme_compare_ns(). Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I069ab53e77741d6348b847d51e84a9338e2f3787 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7755 Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
<dongx.yi@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>