Spdk/examples/nvme
Shuhei Matsumoto 2b78ecf34c example/nvme_identify: Calculate and use active ns count to allocate ANA log page
get_log_page() had used cdata->nn as active ns count to allocate a
ANA log page. However,  cdata->nn might be larger than the real active
ns count. Fix this potential issue.

Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Change-Id: Ic71b29ad920f8393da7d7db0dab45e10e3268aec
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13654
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Dong Yi <dongx.yi@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-07-14 09:47:41 +00:00
..
abort check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
arbitration Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
cmb_copy check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
discovery_aer check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
fio_plugin check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
hello_world check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
hotplug check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
identify example/nvme_identify: Calculate and use active ns count to allocate ANA log page 2022-07-14 09:47:41 +00:00
nvme_manage check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
perf check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
pmr_persistence check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
reconnect check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00