diff options
author | Sage Weil <sage@newdream.net> | 2008-08-07 23:38:15 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2008-08-07 23:38:15 +0200 |
commit | 326b17f540f6c8327b60d17fe7e154ebb5e9ff89 (patch) | |
tree | 0cf94bc1e6ec9f8dccf85fe222fe597d918c8964 /src/mds/MDSTableServer.cc | |
parent | mds mon: propagate deleted snaps to osdmap (diff) | |
download | ceph-326b17f540f6c8327b60d17fe7e154ebb5e9ff89.tar.xz ceph-326b17f540f6c8327b60d17fe7e154ebb5e9ff89.zip |
mds: allocate consecutive snapids
Diffstat (limited to 'src/mds/MDSTableServer.cc')
-rw-r--r-- | src/mds/MDSTableServer.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds/MDSTableServer.cc b/src/mds/MDSTableServer.cc index 887ec4f4727..63bdb212f07 100644 --- a/src/mds/MDSTableServer.cc +++ b/src/mds/MDSTableServer.cc @@ -42,7 +42,7 @@ void MDSTableServer::handle_prepare(MMDSTableRequest *req) { dout(7) << "handle_prepare " << *req << dendl; int from = req->get_source().num(); - + _prepare(req->bl, req->reqid, from); pending_for_mds[version].mds = from; pending_for_mds[version].reqid = req->reqid; @@ -57,6 +57,7 @@ void MDSTableServer::_prepare_logged(MMDSTableRequest *req, version_t tid) { dout(7) << "_create_logged " << *req << " tid " << tid << dendl; MMDSTableRequest *reply = new MMDSTableRequest(table, TABLE_OP_AGREE, req->reqid, tid); + reply->bl = req->bl; mds->send_message_mds(reply, req->get_source().num()); delete req; } |