PG.h: remove some unnecessary virtual declarations

PG users do not need these public methods.

Signed-off-by: Samuel Just <sjust@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
This commit is contained in:
Samuel Just 2016-05-31 15:28:24 -07:00 committed by myoungwon oh
parent 765259a082
commit b912def13e
2 changed files with 5 additions and 9 deletions

View File

@ -2706,12 +2706,6 @@ protected:
// abstract bits
virtual void do_op(OpRequestRef& op) = 0;
virtual void do_scan(
OpRequestRef op,
ThreadPool::TPHandle &handle
) = 0;
virtual void do_backfill(OpRequestRef op) = 0;
virtual void on_role_change() = 0;
virtual void on_pool_change() = 0;

View File

@ -1394,14 +1394,16 @@ public:
void do_request(
OpRequestRef& op,
ThreadPool::TPHandle &handle) override;
void do_op(OpRequestRef& op) override;
void do_op(OpRequestRef& op);
void record_write_error(OpRequestRef op, const hobject_t &soid,
MOSDOpReply *orig_reply, int r);
void do_pg_op(OpRequestRef op);
void do_sub_op(OpRequestRef op);
void do_sub_op_reply(OpRequestRef op);
void do_scan(
OpRequestRef op,
ThreadPool::TPHandle &handle) override;
void do_backfill(OpRequestRef op) override;
ThreadPool::TPHandle &handle);
void do_backfill(OpRequestRef op);
void do_backfill_remove(OpRequestRef op);
void handle_backoff(OpRequestRef& op);