mirror of
https://github.com/ceph/ceph
synced 2025-02-08 03:18:12 +00:00
Merge pull request #18479 from wzliao/wip-correct-scrub-cost
osd/OSD.cc: use option 'osd_scrub_cost' instead Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
e13a8ce8f1
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user