ac257bd4 | 10-Apr-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
blobfs: remove g_caches_lock finally
All the file add/delete/reclaim actions are in the cache thread now, so the cache lock isn't necessary now.
Change-Id: Ibccdede78444e39346659f9342bdf104594bc07f
blobfs: remove g_caches_lock finally
All the file add/delete/reclaim actions are in the cache thread now, so the cache lock isn't necessary now.
Change-Id: Ibccdede78444e39346659f9342bdf104594bc07f Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1796 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
87d5d832 | 10-Apr-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
blobfs: refactor cache_free_buffers()
cache_free_buffers() was only used in the file deletion and unload, and the file is also freed after that, so here we combine the cache free and file free toget
blobfs: refactor cache_free_buffers()
cache_free_buffers() was only used in the file deletion and unload, and the file is also freed after that, so here we combine the cache free and file free together and do the cache free in the cache thread.
Change-Id: I57e9a27c9a6467bcf6c85cd277db3b57e06c98e5 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1795 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
76d23f6f | 10-Apr-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
blobfs: remove the file without cache buffer from cache list
Change-Id: Ibf55e6e2966052bb6f5ce68b2eaa2cafa0b6e459 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.s
blobfs: remove the file without cache buffer from cache list
Change-Id: Ibf55e6e2966052bb6f5ce68b2eaa2cafa0b6e459 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1794 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
c41c4c2b | 10-Apr-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
blobfs: add the file with new cache buffer to cache list in cache thread
Also poll thread in the UT to cover the thread context switch.
Change-Id: I3dc765b66aa707c36eb3913b3e0d2c1c3986e282 Signed-o
blobfs: add the file with new cache buffer to cache list in cache thread
Also poll thread in the UT to cover the thread context switch.
Change-Id: I3dc765b66aa707c36eb3913b3e0d2c1c3986e282 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1793 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
show more ...
|
bc0180f6 | 07-Apr-2020 |
Seth Howell <seth.howell@intel.com> |
lib/blobfs: remove spdk prefix from private APIs
This should help reduce confusion within libraries about which APIs are public and which are private.
Signed-off-by: Seth Howell <seth.howell@intel.
lib/blobfs: remove spdk prefix from private APIs
This should help reduce confusion within libraries about which APIs are public and which are private.
Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I7755081b016f269d4761d8cc2ce4bac2835c077d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1703 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
show more ...
|
0841adda | 21-Feb-2020 |
Changpeng Liu <changpeng.liu@intel.com> |
blobfs: move global cache initialization and free into a function
Also rename __initialize_cache()/__free_cache() to the new name to reflect the logic.
Change-Id: I69bec4a10b2f21a7c40475fc2a99919bc
blobfs: move global cache initialization and free into a function
Also rename __initialize_cache()/__free_cache() to the new name to reflect the logic.
Change-Id: I69bec4a10b2f21a7c40475fc2a99919bc526c556 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/976 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>
show more ...
|