Loading
ut/nvme: count namespaces constructed during ns_attr_changed
This is begining of the series intended to improve testing around AER handling for namespace atrtribute changes. First UT, then functional tests that will help to narrow down any potential issues around asynchronous handling and interpreting the Changed Attached Namespace List log page. During namespace attribute change, we send identify to the controller to update active namespaces list. Later on nvme_ns_construct() sends identify to each active namespace to update its properties. This patch adds accounting to the number of namespaces being updated. Please note that inactive namespaces do not get called by nvme_ns_construct(). Change-Id: Ia391969e22bf8f7b35da0fa13aec79d368ecc4e3 Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26189 Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>