Skip to content

Commit

Permalink
Merge pull request ceph#16093 from tchaikov/wip-20432
Browse files Browse the repository at this point in the history
osd: clear_queued_recovery() in on_shutdown()

Reviewed-by: Josh Durgin <[email protected]>
  • Loading branch information
jdurgin authored Jul 4, 2017
2 parents a5471e7 + 6590014 commit a7960ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/osd/PrimaryLogPG.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10661,6 +10661,11 @@ void PrimaryLogPG::on_shutdown()
// handles queue races
deleting = true;

if (recovery_queued) {
recovery_queued = false;
osd->clear_queued_recovery(this);
}

clear_scrub_reserved();
scrub_clear_state();

Expand Down

0 comments on commit a7960ad

Please sign in to comment.