]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: add PG::mark_unfound_lost()
authorKefu Chai <kchai@redhat.com>
Sun, 6 Sep 2020 06:50:26 +0000 (14:50 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 6 Sep 2020 07:30:15 +0000 (15:30 +0800)
it is a stub implementation for supporing asock command

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/pg.h

index 104483d8e819b5c617844e16423ec9d476fca04f..a88a5ed02a6075d8c7fdfbd431a710e91f29a8af 100644 (file)
@@ -629,6 +629,10 @@ public:
     get_pool().info.opts.get(pool_opts_t::RECOVERY_OP_PRIORITY, &pri);
     return  pri > 0 ? pri : crimson::common::local_conf()->osd_recovery_op_priority;
   }
+  seastar::future<> mark_unfound_lost(int) {
+    // TODO: see PrimaryLogPG::mark_all_unfound_lost()
+    return seastar::now();
+  }
 
 private:
   // instead of seastar::gate, we use a boolean flag to indicate