+22
−18
+0
−2
Loading
Before this patch, cache pool allocation would get deferred to a message sent to the cache pool mgmt spdk_thread. This meant that the cache pool would get allocated *after* blobfs called the init/load completion callback. There is no need to defer the allocation, just allocate it directly from the blobstore init/load completion context. While here, remove a `sleep 1` from the blobfs.sh test script. This sleep was masking the underlying issue here, giving blobfs time to run the deferred function allocating the cache pool. Fixes issue #3250. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I8f32b86d5a46083697cbc1c42c8207b45fb4f2b9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/21730 Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>