~ubuntu-branches/ubuntu/quantal/ceph/quantal

« back to all changes in this revision

Viewing changes to src/mds/AnchorServer.cc

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum, Clint Byrum, Micah Gersten
  • Date: 2011-02-12 22:50:26 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110212225026-yyyw4tk0msgql3ul
Tags: 0.24.2-0ubuntu1
[ Clint Byrum <clint@ubuntu.com> ]
* New upstream release. (LP: #658670, LP: #684011)
* debian/patches/fix-mkcephfs.patch: dropped (applied upstream)
* Removed .la files from libceph1-dev, libcrush1-dev and 
  librados1-dev (per Debian policy v3.9.1 10.2).
* debian/control: adding pkg-config as a build dependency
* debian/control: depend on libcrypto++-dev instead of libssl-dev
* debian/watch: added watch file

[ Micah Gersten <micahg@ubuntu.com> ]
* debian/control: add Homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    dout(10) << "inc now " << anchor << dendl;
81
81
    ino = anchor.dirino;
82
82
    
83
 
    if (ino == 0) break;
 
83
    if (ino == 0 || MDS_INO_IS_BASE(ino)) break;
84
84
    if (anchor_map.count(ino) == 0) break;
85
85
  }
86
86
}
128
128
    version++;
129
129
 
130
130
    // make sure trace is in table
131
 
    for (unsigned i=0; i<trace.size(); i++) 
 
131
    dout(0) << "trace.size=" << trace.size() << dendl;
 
132
    for (unsigned i=0; i<trace.size(); i++) {
132
133
      add(trace[i].ino, trace[i].dirino, trace[i].dn_hash);
 
134
      dout(0) << trace[i] << dendl;
 
135
    }
133
136
    inc(ino);
134
137
    pending_create[version] = ino;  // so we can undo
135
138
    break;
225
228
  //dump();
226
229
}
227
230
 
228
 
 
 
231
/* This function DOES put the passed message before returning */
229
232
void AnchorServer::handle_query(MMDSTableRequest *req)
230
233
{
231
234
  bufferlist::iterator p = req->bl.begin();