Actions
Bug #49690
closedCompression hints are not sent to OSD when object-map is enabled and object may exist
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Description
If the allocation hint is enabled, the write-hints should be included.
template <typename I> void AbstractObjectWriteRequest<I>::add_write_hint( neorados::WriteOp *wr) { I *image_ctx = this->m_ictx; std::shared_lock image_locker{image_ctx->image_lock}; if (image_ctx->object_map == nullptr || !this->m_object_may_exist) { ObjectRequest<I>::add_write_hint(*image_ctx, wr); } }
Actions