]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/d4n: modified update method to optionally take a bool
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 22 May 2025 11:11:55 +0000 (16:41 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Fri, 22 Aug 2025 15:02:21 +0000 (20:32 +0530)
commitd1bd77e4c5e42c5270c6eb249c33e5753a90b2ec
treee9e899e8481fa15dd4aab70f603dd2ee42405c93
parent8e5de45da5ad948c7231270783bcadefe138b97e
rgw/d4n: modified update method to optionally take a bool
for dirty flag, such that when a flag is not set, then the method
re-uses the old value of dirty flag using in-memory data structure.
This is helpful in eliminating a call to directory to fetch the
'dirty' flag in the flush() method.

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