Skip to content

Commit

Permalink
rgw/d4n: Update after initial review
Browse files Browse the repository at this point in the history
Signed-off-by: Samarah <[email protected]>
  • Loading branch information
Samarah committed Jan 9, 2025
1 parent 7795101 commit 79dd336
Show file tree
Hide file tree
Showing 3 changed files with 950 additions and 316 deletions.
1 change: 0 additions & 1 deletion src/rgw/driver/d4n/d4n_policy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,6 @@ void LFUDAPolicy::cleaning(const DoutPrefixProvider* dpp)
}
rgw::d4n::CacheBlock block;
block.cacheObj.bucketName = c_obj->get_bucket()->get_bucket_id();
ldpp_dout(dpp, 20) << __func__ << "(): bucket name: " << block.cacheObj.bucketName << dendl;
block.cacheObj.objName = c_obj->get_name();
block.size = 0;
block.blockID = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/rgw/driver/d4n/rgw_sal_d4n.cc
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ int D4NFilterObject::calculate_version(const DoutPrefixProvider* dpp, optional_y
ldpp_dout(dpp, 10) << "D4NFilterObject::" << __func__ << "(): object name: " << this->get_name() << " instance: " << this->have_instance() << dendl;
if (! this->have_instance() && version.empty()) {
bufferlist bl = attrs[RGW_ATTR_ID_TAG];
version = bl.to_str();
version = bl.c_str();
if (!version.empty()) {
ldpp_dout(dpp, 20) << __func__ << " id tag version is: " << version << dendl;
}
Expand Down
Loading

0 comments on commit 79dd336

Please sign in to comment.