mirror of
https://github.com/ceph/ceph
synced 2025-02-21 01:47:25 +00:00
librbd: fixed "hidden" virtual methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c74eeb53f3
commit
3ebb584b71
@ -43,6 +43,7 @@ class ObjecterWriteback : public WritebackHandler {
|
||||
}
|
||||
|
||||
virtual bool can_scattered_write() { return true; }
|
||||
using WritebackHandler::write;
|
||||
virtual ceph_tid_t write(const object_t& oid, const object_locator_t& oloc,
|
||||
vector<pair<uint64_t, bufferlist> >& io_vec,
|
||||
const SnapContext& snapc, ceph::real_time mtime,
|
||||
|
@ -106,6 +106,7 @@ public:
|
||||
const std::set<string> &key,
|
||||
std::map<string, bufferlist> *out
|
||||
);
|
||||
using KeyValueDB::get;
|
||||
|
||||
class KineticWholeSpaceIteratorImpl :
|
||||
public KeyValueDB::WholeSpaceIteratorImpl {
|
||||
|
@ -39,6 +39,7 @@ namespace librbd {
|
||||
ceph::real_time mtime, uint64_t trunc_size,
|
||||
__u32 trunc_seq, ceph_tid_t journal_tid,
|
||||
Context *oncommit);
|
||||
using WritebackHandler::write;
|
||||
|
||||
virtual void overwrite_extent(const object_t& oid, uint64_t off,
|
||||
uint64_t len, ceph_tid_t journal_tid);
|
||||
|
@ -34,6 +34,7 @@ public:
|
||||
const std::set<string> &key,
|
||||
std::map<string, bufferlist> *out
|
||||
);
|
||||
using KeyValueDB::get;
|
||||
|
||||
int get_keys(
|
||||
const string &prefix,
|
||||
|
@ -58,6 +58,7 @@ class ServerDispatcher : public Dispatcher {
|
||||
messages.pop_front();
|
||||
return m;
|
||||
}
|
||||
using ThreadPool::WorkQueue<Message>::_process;
|
||||
void _process(Message *m, ThreadPool::TPHandle &handle) {
|
||||
MOSDOp *osd_op = static_cast<MOSDOp*>(m);
|
||||
MOSDOpReply *reply = new MOSDOpReply(osd_op, 0, 0, 0, false);
|
||||
|
@ -29,6 +29,8 @@ public:
|
||||
__u32 trunc_seq, ceph_tid_t journal_tid,
|
||||
Context *oncommit);
|
||||
|
||||
using WritebackHandler::write;
|
||||
|
||||
virtual bool may_copy_on_write(const object_t&, uint64_t, uint64_t,
|
||||
snapid_t);
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user