+66
−35
Loading
This patch adds a posibility to update cuse devices after cuse device registration. During NVMe controller life cycle there's a posibility to create and delete namespaces with Namespace Manage feature from NVMe spec 1.4. To guarantee consistency, after changing the number of namespaces NVMe CUSE devices must be repopulated after Namespace Manage operation. This patch introduces cuse_nvme_ctrl_update() entry point to allow repopulate NVMe CUSE devices. Change-Id: I478faae040027965321af585abfc34eaf35c908c Signed-off-by:Tomasz Kulasek <tomaszx.kulasek@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/650 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>