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

« back to all changes in this revision

Viewing changes to src/dumpjournal.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:
46
46
Messenger *messenger = 0;
47
47
Objecter *objecter = 0;
48
48
Journaler *journaler = 0;
 
49
SafeTimer *obj_timer = 0;
 
50
SafeTimer *jnl_timer = 0;
49
51
 
50
52
class Dumper : public Dispatcher {
51
53
  bool ms_dispatch(Message *m) {
101
103
  inodeno_t ino = MDS_INO_LOG_OFFSET + mds;
102
104
  unsigned pg_pool = CEPH_METADATA_RULE;
103
105
 
104
 
  objecter = new Objecter(messenger, &mc, &osdmap, lock);
105
 
  journaler = new Journaler(ino, pg_pool, CEPH_FS_ONDISK_MAGIC, objecter, 0, 0,  &lock);
 
106
  obj_timer = new SafeTimer(lock);
 
107
  jnl_timer = new SafeTimer(lock);
 
108
  objecter = new Objecter(messenger, &mc, &osdmap, lock, *obj_timer);
 
109
  journaler = new Journaler(ino, pg_pool, CEPH_FS_ONDISK_MAGIC, objecter, 0, 0,  jnl_timer);
106
110
 
107
111
  objecter->set_client_incarnation(0);
108
112