]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: request attempt comes from fwd count, not retry flag
authorSage Weil <sage@newdream.net>
Sat, 30 Jul 2011 04:41:34 +0000 (21:41 -0700)
committerSage Weil <sage@newdream.net>
Mon, 1 Aug 2011 16:49:45 +0000 (09:49 -0700)
src/mds/MDCache.cc

index 3519278bb3abf5869ad335ed75da16ff7f7cf54d..646c3cac666579e27b904eb87eb365ea61488743 100644 (file)
@@ -7379,7 +7379,7 @@ MDRequest *MDCache::request_start(MClientRequest *req)
   }
 
   // register new client request
-  MDRequest *mdr = new MDRequest(req->get_reqid(), req->get_retry_attempt(), req);
+  MDRequest *mdr = new MDRequest(req->get_reqid(), req->get_num_fwd(), req);
   active_requests[req->get_reqid()] = mdr;
   dout(7) << "request_start " << *mdr << dendl;
   return mdr;