]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD: mark internal methods as `private`
authorKefu Chai <kchai@redhat.com>
Fri, 27 Feb 2015 08:53:21 +0000 (16:53 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 27 Feb 2015 10:43:18 +0000 (18:43 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.h

index a8e6990e90f716db6fd8a8ec076b3e2ecf35df92..b043d28dc59a8017b8a7a98c27c8a798cd2d50d5 100644 (file)
@@ -2302,6 +2302,17 @@ protected:
 private:
   static int write_meta(ObjectStore *store,
                        uuid_d& cluster_fsid, uuid_d& osd_fsid, int whoami);
+
+  void handle_rep_scrub(MOSDRepScrub *m);
+  void handle_scrub(struct MOSDScrub *m);
+  void handle_osd_ping(class MOSDPing *m);
+  void handle_op(OpRequestRef& op, OSDMapRef& osdmap);
+
+  template <typename T, int MSGTYPE>
+  void handle_replica_op(OpRequestRef& op, OSDMapRef& osdmap);
+
+  int init_op_flags(OpRequestRef& op);
+
 public:
   static int peek_meta(ObjectStore *store, string& magic,
                       uuid_d& cluster_fsid, uuid_d& osd_fsid, int& whoami);
@@ -2317,22 +2328,10 @@ public:
 
   void handle_signal(int signum);
 
-  void handle_rep_scrub(MOSDRepScrub *m);
-  void handle_scrub(struct MOSDScrub *m);
-  void handle_osd_ping(class MOSDPing *m);
-  void handle_op(OpRequestRef& op, OSDMapRef& osdmap);
-
-  template <typename T, int MSGTYPE>
-  void handle_replica_op(OpRequestRef& op, OSDMapRef& osdmap);
-
   /// check if we can throw out op from a disconnected client
-  static bool op_is_discardable(class MOSDOp *m);
-  /// check if op should be (re)queued for processing
-public:
-  void force_remount();
-
-  int init_op_flags(OpRequestRef& op);
+  static bool op_is_discardable(MOSDOp *m);
 
+public:
   OSDService service;
   friend class OSDService;
 };