]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSD.cc: use option 'osd_scrub_cost' instead 18479/head
authorLiao Weizhong <liaoweizhong@unionpay.com>
Mon, 23 Oct 2017 11:02:07 +0000 (19:02 +0800)
committerLiao Weizhong <liaoweizhong@unionpay.com>
Mon, 23 Oct 2017 11:43:20 +0000 (19:43 +0800)
Signed-off-by: Liao Weizhong <liaoweizhong@unionpay.com>
src/osd/OSD.cc

index 124e7f1e7dcde3d338fe6b260d9ddb093f050b91..33e94761f0e355cbabd1a11278644e354b8d8308 100644 (file)
@@ -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,