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

« back to all changes in this revision

Viewing changes to src/mds/MDS.h

  • 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:
146
146
  int whoami;
147
147
  int incarnation;
148
148
 
149
 
  CompatSet mds_features;
150
 
  
151
149
  int standby_for_rank;
152
150
  string standby_for_name;
153
 
  int standby_replay_for;
154
151
 
155
152
  Messenger    *messenger;
156
153
  MonClient    *monc;
180
177
 
181
178
  Logger       *logger, *mlogger;
182
179
 
 
180
  int orig_argc;
 
181
  const char **orig_argv;
183
182
 
184
183
 protected:
185
184
  // -- MDS state --
339
338
  void send_message(Message *m, Connection *c);
340
339
 
341
340
  // start up, shutdown
342
 
  int init();
 
341
  int init(int wanted_state=MDSMap::STATE_BOOT);
343
342
 
344
343
  void open_logger();
345
344
 
348
347
  void boot_create();             // i am new mds.
349
348
  void boot_start(int step=0, int r=0);    // starting|replay
350
349
 
 
350
  void calc_recovery_set();
 
351
 
351
352
  void replay_start();
352
353
  void creating_done();
353
354
  void starting_done();
366
367
  void active_start();
367
368
  void stopping_start();
368
369
  void stopping_done();
 
370
 
369
371
  void suicide();
 
372
  void respawn();
370
373
 
371
374
  void tick();
372
375
  
389
392
};
390
393
 
391
394
 
392
 
 
 
395
/* This expects to be given a reference which it is responsible for.
 
396
 * The finish function calls functions which
 
397
 * will put the Message exactly once.*/
393
398
class C_MDS_RetryMessage : public Context {
394
399
  Message *m;
395
400
  MDS *mds;