c74ea9fa8e
I tried experimental binding of SPDK with Mongo-rocks. However, the binding sometimes invoke blobfs APIs without thread initializations. In that case, null dereferences occur. In other words, we need to carefully use blobfs not to invoke any threads that are not registered to blobfs. This patch simply adds a sanity check at every use of blobfs APIs. By doing this, we do not need to care about which threads can use blobfs APIs. Change-Id: I5b37b0267306a7c76d20e81c1773a6a33be7828c Signed-off-by: Takeshi Yoshimura <t.yoshimura8869@gmail.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/418966 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
env_spdk.cc | ||
spdk.rocksdb.mk |