nvmf: declare new added migration APIs are experimental
Change-Id: If40b6ec81035bbd8d5e61748c3ff47f928930f74 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14587 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: GangCao <gang.cao@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
ea741a29bd
commit
7ad783c8a3
@ -487,7 +487,12 @@ struct spdk_nvmf_ctrlr_feat {
|
|||||||
};
|
};
|
||||||
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_ctrlr_feat) == 40, "Incorrect size");
|
SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_ctrlr_feat) == 40, "Incorrect size");
|
||||||
|
|
||||||
/* Migration data structure used to save & restore a NVMe-oF controller. */
|
/*
|
||||||
|
* Migration data structure used to save & restore a NVMe-oF controller.
|
||||||
|
*
|
||||||
|
* The data structure is experimental.
|
||||||
|
*
|
||||||
|
*/
|
||||||
struct spdk_nvmf_ctrlr_migr_data {
|
struct spdk_nvmf_ctrlr_migr_data {
|
||||||
/* `data_size` is valid size of `spdk_nvmf_ctrlr_migr_data` without counting `unused`.
|
/* `data_size` is valid size of `spdk_nvmf_ctrlr_migr_data` without counting `unused`.
|
||||||
* We use this field to migrate `spdk_nvmf_ctrlr_migr_data` from source VM and restore
|
* We use this field to migrate `spdk_nvmf_ctrlr_migr_data` from source VM and restore
|
||||||
@ -528,6 +533,8 @@ SPDK_STATIC_ASSERT(sizeof(struct spdk_nvmf_ctrlr_migr_data) == 4096, "Incorrect
|
|||||||
/**
|
/**
|
||||||
* Save the NVMe-oF controller state and configuration.
|
* Save the NVMe-oF controller state and configuration.
|
||||||
*
|
*
|
||||||
|
* The API is experimental.
|
||||||
|
*
|
||||||
* It is allowed to save the data only when the nvmf subystem is in paused
|
* It is allowed to save the data only when the nvmf subystem is in paused
|
||||||
* state i.e. there are no outstanding cmds in nvmf layer (other than aer),
|
* state i.e. there are no outstanding cmds in nvmf layer (other than aer),
|
||||||
* pending async event completions are getting blocked.
|
* pending async event completions are getting blocked.
|
||||||
@ -546,6 +553,8 @@ int spdk_nvmf_ctrlr_save_migr_data(struct spdk_nvmf_ctrlr *ctrlr,
|
|||||||
/**
|
/**
|
||||||
* Restore the NVMe-oF controller state and configuration.
|
* Restore the NVMe-oF controller state and configuration.
|
||||||
*
|
*
|
||||||
|
* The API is experimental.
|
||||||
|
*
|
||||||
* It is allowed to restore the data only when the nvmf subystem is in paused
|
* It is allowed to restore the data only when the nvmf subystem is in paused
|
||||||
* state.
|
* state.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user