~ubuntu-branches/ubuntu/trusty/ceph/trusty-proposed

« back to all changes in this revision

Viewing changes to src/osd/ReplicatedPG.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2015-01-23 16:29:08 UTC
  • mfrom: (0.3.21)
  • Revision ID: package-import@ubuntu.com-20150123162908-5rsgaz037l7f3nqs
Tags: 0.80.8-0ubuntu0.14.04.1
New upstream stable point release (LP: #1413917).

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
    bool modify;          // (force) modification (even if op_t is empty)
439
439
    bool user_modify;     // user-visible modification
440
440
    bool undirty;         // user explicitly un-dirtying this object
 
441
    bool cache_evict;     ///< true if this is a cache eviction
441
442
 
442
443
    // side effects
443
444
    list<watch_info_t> watch_connects;
539
540
              ReplicatedPG *_pg) :
540
541
      op(_op), reqid(_reqid), ops(_ops), obs(_obs), snapset(0),
541
542
      new_obs(_obs->oi, _obs->exists),
542
 
      modify(false), user_modify(false), undirty(false),
 
543
      modify(false), user_modify(false), undirty(false), cache_evict(false),
543
544
      bytes_written(0), bytes_read(0), user_at_version(0),
544
545
      current_osd_subop_num(0),
545
546
      op_t(NULL),
1331
1332
    set<RepGather *> repops;
1332
1333
    snapid_t snap_to_trim;
1333
1334
    bool need_share_pg_info;
1334
 
    bool requeue;
1335
 
    SnapTrimmer(ReplicatedPG *pg) : pg(pg), need_share_pg_info(false), requeue(false) {}
 
1335
    SnapTrimmer(ReplicatedPG *pg) : pg(pg), need_share_pg_info(false) {}
1336
1336
    ~SnapTrimmer();
1337
1337
    void log_enter(const char *state_name);
1338
1338
    void log_exit(const char *state_name, utime_t duration);