2f249ace0c
Since g_fs_cache_size only takes effect when creating g_cache_pool, so spdk_fs_set_cache_size is only permitted when cache pool is already freed or hasn't been initialized. Add a return value to indicate the result of spdk_fs_set_cache_size. Change-Id: I3828b136976d6f03f0751b2f20f68cd47c36ec04 Signed-off-by: Xiaodong Liu <xiaodong.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471869 Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
blobfs.c | ||
Makefile | ||
tree.c | ||
tree.h |