2021-08-02 12:27:54 +00:00
|
|
|
# Deprecation
|
|
|
|
|
|
|
|
## ABI and API Deprecation {#deprecation}
|
2021-02-26 12:33:12 +00:00
|
|
|
|
|
|
|
This document details the policy for maintaining stability of SPDK ABI and API.
|
|
|
|
|
|
|
|
Major ABI version can change at most once for each quarterly SPDK release.
|
2021-11-25 01:40:57 +00:00
|
|
|
ABI versions are managed separately for each library and follow [Semantic Versioning](https://semver.org/).
|
2021-02-26 12:33:12 +00:00
|
|
|
|
|
|
|
API and ABI deprecation notices shall be posted in the next section.
|
|
|
|
Each entry must describe what will be removed and can suggest the future use or alternative.
|
|
|
|
Specific future SPDK release for the removal must be provided.
|
|
|
|
ABI cannot be removed without providing deprecation notice for at least single SPDK release.
|
|
|
|
|
2021-08-02 12:27:54 +00:00
|
|
|
## Deprecation Notices {#deprecation-notices}
|
2021-08-10 13:30:42 +00:00
|
|
|
|
2021-11-26 18:22:08 +00:00
|
|
|
### nvme
|
|
|
|
|
|
|
|
Deprecated `spdk_nvme_ctrlr_reset_async` and `spdk_nvme_ctrlr_reset_poll_async` APIs,
|
|
|
|
which will be removed in SPDK 22.01. `spdk_nvme_ctrlr_disconnect`, `spdk_nvme_ctrlr_reconnect_async`,
|
|
|
|
and `spdk_nvme_ctrlr_reconnect_poll_async` should be used instead.
|