Spdk/examples
Niklas Cassel 3301f8214b examples/nvme/identify: print zone report excerpt for zoned namespaces
If the namespace is a zoned namespace, get and print a zone report.

Since a ZNS drive can have thousands of zones, request a zone report
containing only the first 8 zones.
The code does take a ZNS drive with less than 8 zones into account,
even though such a drive is unlikely to exist in the wild.

Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Change-Id: I28ecb4d7c60ab5a911d7b1faae595f43ef6706e1
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4794
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
2020-10-21 12:18:44 +00:00
..
accel examples/accel/perf: replace mempool of tasks with lists of tasks 2020-07-24 19:38:46 +00:00
bdev bdev/hello_world: Use spdk_bdev_open_ext() instead of spdk_bdev_open() 2020-10-19 09:55:14 +00:00
blob examples/blob_cli: Use spdk_bdev_create_bs_dev_ext() to pass bdev_name 2020-10-20 15:27:38 +00:00
ioat example/ioat: Initialize global TAILQ HEAD variables at definition. 2020-10-14 08:06:25 +00:00
nvme examples/nvme/identify: print zone report excerpt for zoned namespaces 2020-10-21 12:18:44 +00:00
nvmf nvmf: Eliminate spdk_nvmf_tgt_accept() 2020-09-21 07:55:54 +00:00
sock sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile examples/accel/perf: perf tool using the accel framework 2020-03-16 08:45:13 +00:00