]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/cache: implementation of `put` using yield context
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 8 Feb 2024 08:49:35 +0000 (14:19 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 2 Apr 2024 15:54:52 +0000 (21:24 +0530)
commit1a44398cb5f698dd29316ab88e5c0b4f31799769
tree10900200ae1cecb33f77da23d3c23161e633d0fc
parent68b8cb4448681d20f111cc2fe3327aa57545184d
rgw/cache: implementation of `put` using yield context
as completion token and adding throttling to `put_async`
in the cache driver api. Also added a test case to the
ssd driver unit test for `put_async`.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/rgw_cache_driver.h
src/rgw/rgw_redis_driver.cc
src/rgw/rgw_redis_driver.h
src/rgw/rgw_ssd_driver.cc
src/rgw/rgw_ssd_driver.h
src/test/rgw/test_ssd_driver.cc