a066f0c3fb
This fix is as same as for NVMe bdev module. If a ANA log page has two or more ANA group descriptors, the second or later of ANA group descriptors will not be 8-bytes aligned. Then runtime error would occur as follows: runtime error: member access within misaligned address 0x612000000074 for type 'const struct spdk_nvme_ana_group_descriptor', which requires 8 byte alignment nvmf_get_ana_log_page() in lib/nvmf/ctrlr.c creates a ANA log page data and processes 8 bytes alignment correctly because we got the same runtime error before. However, lib/nvme had been missed at that time. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Idaa610544dc5cb659c387fcd38a2b4b97cbd06e5 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8398 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Ziye Yang <ziye.yang@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Monica Kenguva <monica.kenguva@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_cuse.c | ||
nvme_cuse.h | ||
nvme_fabric.c | ||
nvme_internal.h | ||
nvme_io_msg.c | ||
nvme_io_msg.h | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_opal_internal.h | ||
nvme_opal.c | ||
nvme_pcie_common.c | ||
nvme_pcie_internal.h | ||
nvme_pcie.c | ||
nvme_poll_group.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme_transport.c | ||
nvme_vfio_user.c | ||
nvme_zns.c | ||
nvme.c | ||
spdk_nvme.map |