Spdk/examples/nvme
Jim Harris c62637c9e7 perf: zero the ns_entry buffer for aio/uring
Otherwise we get garbage in ns_entry->zipf.  If
this is not-NULL, we use it for zipf random
distribution and segfault since it's not-NULL but
also not valid.

So use calloc instead.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I0d13e21989b6f43e9f6f16736479395d1d6f0e77
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16362
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Xiaodong Liu <xiaodong.liu@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-01-23 17:48:10 +00:00
..
abort example/nvme: Adjust logic lines about if (current_queue_depth > 0) 2022-12-07 08:42:55 +00:00
arbitration update Intel copyright notices 2022-11-10 08:28:53 +00:00
cmb_copy update Intel copyright notices 2022-11-10 08:28:53 +00:00
discovery_aer update Intel copyright notices 2022-11-10 08:28:53 +00:00
fio_plugin update Intel copyright notices 2022-11-10 08:28:53 +00:00
hello_world update Intel copyright notices 2022-11-10 08:28:53 +00:00
hotplug hotplug: let device insertions/removals take priority 2023-01-09 11:16:50 +00:00
identify update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme_manage examples/nvme_manage: check the valid address parse 2023-01-05 23:26:02 +00:00
perf perf: zero the ns_entry buffer for aio/uring 2023-01-23 17:48:10 +00:00
pmr_persistence check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
reconnect update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00