summaryrefslogtreecommitdiffstats
path: root/src/mds/MDSTableServer.cc
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2008-08-07 23:38:15 +0200
committerSage Weil <sage@newdream.net>2008-08-07 23:38:15 +0200
commit326b17f540f6c8327b60d17fe7e154ebb5e9ff89 (patch)
tree0cf94bc1e6ec9f8dccf85fe222fe597d918c8964 /src/mds/MDSTableServer.cc
parentmds mon: propagate deleted snaps to osdmap (diff)
downloadceph-326b17f540f6c8327b60d17fe7e154ebb5e9ff89.tar.xz
ceph-326b17f540f6c8327b60d17fe7e154ebb5e9ff89.zip
mds: allocate consecutive snapids
Diffstat (limited to 'src/mds/MDSTableServer.cc')
-rw-r--r--src/mds/MDSTableServer.cc3
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;
}