statfs_requests[tid] = req;
int mon = monmap->pick_mon();
- messenger->send_message(new MStatfs(req->tid), monmap->get_inst(mon));
+ messenger->send_message(new MStatfs(monmap->fsid, req->tid), monmap->get_inst(mon));
while (req->reply == 0)
cond.Wait(client_lock);
tid_t tid;
MStatfs() : Message(CEPH_MSG_STATFS) {}
- MStatfs(tid_t t) : Message(CEPH_MSG_STATFS), tid(t) {}
+ MStatfs(ceph_fsid_t& f, tid_t t) : Message(CEPH_MSG_STATFS), fsid(f), tid(t) {}
const char *get_type_name() { return "statfs"; }
void print(ostream& out) {