Spdk/examples
Mike Gerdts 643385ea0a blobcli: uuid xattrs should be printed as strings
At the time of commit d1d22046df, xattr UUIDs were stored as
strings, not as `struct spdk_uuid`. That continues to be true today.
As such, bs_dump_xattr should be treating UUID XATTR values as strings
rather than as `struct spdk_uuid`.

This fix does verify that the UUID string is a well-formed UUID before
printing it. If it is not well-formed, "? Invalid UUID" is printed
along with the raw bytes.

Signed-off-by: Mike Gerdts <mgerdts@nvidia.com>
Change-Id: I5b574c1c2c4b4802aae3ba23d32ef58fb6fa7586
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11249
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-02-01 20:05:13 +00:00
..
accel examples/accel/perf: fix partial-free error before _init_thread 2022-01-05 09:23:12 +00:00
bdev examples/bdev: add missed spdk_env_fini() call when exiting 2022-01-10 18:36:14 +00:00
blob blobcli: uuid xattrs should be printed as strings 2022-02-01 20:05:13 +00:00
idxd examples/idxd: Deal with queued tasks during drain 2022-01-26 08:12:44 +00:00
interrupt_tgt interrupt_tgt: Fix the interrupt mode usage issue. 2021-07-13 08:59:41 +00:00
ioat examples/ioat: add missed spdk_env_fini() call when exiting 2022-01-10 18:36:14 +00:00
nvme example/nvme_perf: Remove spdk_nvme_poll_group_remove() calls 2022-01-19 08:44:09 +00:00
nvmf examples/nvmf: add missed spdk_env_fini() when exiting 2022-01-10 18:36:14 +00:00
sock examples: update pollers to use the expected enum values 2021-11-03 23:12:25 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd examples/vmd: add missed spdk_env_fini() call when exiting 2022-01-10 18:36:14 +00:00
Makefile examples/idxd: Add the perf tool for idxd 2021-09-22 06:54:48 +00:00