Currently we will free the cache buffers in the file R/W data path, however we can start a thread to do the cache buffer reclaim regulary, so that we don't need to free the cache buffer in the Rocksdb thread context. By doing this, we can also remove the global cache buffer lock in following patches. Change-Id: Icb0fbc49baecd1e9d86a5fcfe400758dfc3c53a2 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/941 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
blobfs_sync_ut.c | ||
Makefile |