Skip to content

Commit

Permalink
osd/OSD.cc: use option 'osd_scrub_cost' instead
Browse files Browse the repository at this point in the history
  • Loading branch information
wzliao committed Oct 23, 2017
1 parent 2f7ae0e commit a4875dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/OSD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1712,7 +1712,7 @@ void OSDService::queue_for_scrub(PG *pg, bool with_high_priority)
enqueue_back(
OpQueueItem(
unique_ptr<OpQueueItem::OpQueueable>(new PGScrub(pg->get_pgid(), epoch)),
cct->_conf->osd_snap_trim_cost,
cct->_conf->osd_scrub_cost,
scrub_queue_priority,
ceph_clock_now(),
0,
Expand Down

0 comments on commit a4875dc

Please sign in to comment.