Since the number of Namespaces for each NVMe controller will not change during the lifetime, and each Namespace will only construct one block device, For the purpose to support NS attribute event in bdev_nvme module, using arrayed data structure makes the implementation much easier. Change-Id: Ia3a64cd1e8d59937f0c91daaee9c5bd28708402b Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/415115 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
bdev_nvme_rpc.c | ||
bdev_nvme.c | ||
bdev_nvme.h | ||
Makefile |