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

« back to all changes in this revision

Viewing changes to src/osd/ReplicatedPG.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-08-27 08:23:21 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120827082321-2cfej6ddvk63vsqq
Tags: upstream-0.48.1
ImportĀ upstreamĀ versionĀ 0.48.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
470
470
  // replica ops
471
471
  // [primary|tail]
472
472
  xlist<RepGather*> repop_queue;
 
473
  bool already_complete(eversion_t v) {
 
474
    for (xlist<RepGather*>::iterator i = repop_queue.begin();
 
475
         !i.end();
 
476
         ++i) {
 
477
      if ((*i)->v > v)
 
478
        break;
 
479
      if (!(*i)->waitfor_disk.empty())
 
480
        return false;
 
481
    }
 
482
    return true;
 
483
  }
473
484
  map<tid_t, RepGather*> repop_map;
474
485
 
475
486
  void apply_repop(RepGather *repop);