Adds API for fast shutdown - the ability for FTL to skip most of the metadata persists made during clean shutdown, and relying on their representation in shared memory instead. This allows for faster update of SPDK (or just FTL, assuming no metadata changes), with downtime reduction from 2-5 seconds to 500-1000 ms (for 14TiB+800GiB base and cache drives). Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com> Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com> Change-Id: I5999d31698a81512db8d5893eabee7b505c80d06 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13348 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
22 lines
353 B
Plaintext
22 lines
353 B
Plaintext
{
|
|
global:
|
|
|
|
# public functions
|
|
spdk_ftl_init;
|
|
spdk_ftl_fini;
|
|
spdk_ftl_dev_init;
|
|
spdk_ftl_dev_free;
|
|
spdk_ftl_get_default_conf;
|
|
spdk_ftl_dev_get_attrs;
|
|
spdk_ftl_dev_get_conf;
|
|
spdk_ftl_conf_copy;
|
|
spdk_ftl_conf_deinit;
|
|
spdk_ftl_get_io_channel;
|
|
spdk_ftl_io_size;
|
|
spdk_ftl_readv;
|
|
spdk_ftl_writev;
|
|
spdk_ftl_dev_set_fast_shutdown;
|
|
|
|
local: *;
|
|
};
|