Skip to content

Commit

Permalink
osd: ECCommon respects crimson non-null obc for new ovjects
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
  • Loading branch information
rzarzynski committed May 13, 2024
1 parent 9f9c424 commit 2e14e06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osd/ECCommon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,11 @@ void ECCommon::RecoveryBackend::continue_recovery_op(
amount,
std::move(want),
to_read,
#ifdef WITH_SEASTAR
op.recovery_progress.first && op.xattrs.count(OI_ATTR) == 0);
#else
op.recovery_progress.first && !op.obc);
#endif
op.extent_requested = make_pair(
from,
amount);
Expand Down

0 comments on commit 2e14e06

Please sign in to comment.