]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/d4n: squashing following commits to address concurrency in
authorPritha Srivastava <prsrivas@redhat.com>
Fri, 25 Oct 2024 04:56:05 +0000 (10:26 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Mon, 21 Apr 2025 04:04:07 +0000 (09:34 +0530)
commit1734883cb76598bfaac709c8c6fa6dc215cdf7fd
treeb59c6b83272d853b68ba601b78dc433757a74073
parentaae7642e69bb5f9ce66f130dc48869363da9a632
rgw/d4n: squashing following commits to address concurrency in
filter driver and ssd backed cache.

1. rgw/d4n: addressing concurrency issues by adding a refcount
to each block.
Blocks with positive refcounts are pinned (similar to dirty blocks)
and not eligible for eviction or deletion. Updating unit tests also.
2. rgw/cache: addressing concurrency issues while directories creation,
deletion, updating xattrs, get_attr and put.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/driver/d4n/d4n_policy.cc
src/rgw/driver/d4n/d4n_policy.h
src/rgw/driver/d4n/rgw_sal_d4n.cc
src/rgw/rgw_ssd_driver.cc
src/rgw/rgw_ssd_driver.h
src/test/rgw/test_d4n_policy.cc