]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: make update_snap_mapper_bits public
authorSage Weil <sage@redhat.com>
Mon, 18 Sep 2017 19:14:11 +0000 (14:14 -0500)
committerSage Weil <sage@redhat.com>
Fri, 6 Oct 2017 18:08:18 +0000 (13:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.h

index f92478f14503d6920196bbe8e1258cff0361c5f7..db1edfb47ed1546f9747a2dfb734f4e999b3213c 100644 (file)
@@ -409,6 +409,9 @@ public:
 
   void rm_backoff(BackoffRef b);
 
+  void update_snap_mapper_bits(uint32_t bits) {
+    snap_mapper.update_bits(bits);
+  }
   void start_split_stats(const set<spg_t>& childpgs, vector<object_stat_sum_t> *v);
   virtual void split_colls(
     spg_t child,
@@ -575,9 +578,6 @@ protected:
 
 protected:
   /*** PG ****/
-  void update_snap_mapper_bits(uint32_t bits) {
-    snap_mapper.update_bits(bits);
-  }
   /// get_is_recoverable_predicate: caller owns returned pointer and must delete when done
   IsPGRecoverablePredicate *get_is_recoverable_predicate() {
     return get_pgbackend()->get_is_recoverable_predicate();