~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to src/messages/MOSDSubOpReply.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-06-08 15:54:37 UTC
  • mfrom: (1.1.8) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20120608155437-gy3j9k6wzv7w4gn9
Tags: 0.44.1-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - d/control: Switch from libcryptopp to libnss as libcryptopp
    is not seeded.
  - d/control,d/rules: Move from python-support to dh_python2.
  - d/patches/manpage_updates*.patch: cherry picked upstream manpage
    updates warning about lack of encryption, per MIR review.
  - d/rules,d/control: Drop radosgw since libfcgi is not in main and
    the code may not be suitable for LTS.
  - d/rules,d/control: Drop tcmalloc since google perftools is not
    in main yet.
  - d/rules,d/control: Drop ceph-fuse entirely per MIR review
    recommendation.
* d/patches/fix-radosgw-tests.patch: Cherry picked patch from upstream
  VCS to fixup tests to conditionally use radosgw if enabled.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
 
51
51
  map<string,bufferptr> attrset;
52
52
 
53
 
  virtual void decode_payload(CephContext *cct) {
 
53
  virtual void decode_payload() {
54
54
    bufferlist::iterator p = payload.begin();
55
55
    ::decode(map_epoch, p);
56
56
    ::decode(reqid, p);
69
69
    ::decode(peer_stat, p);
70
70
    ::decode(attrset, p);
71
71
  }
72
 
  virtual void encode_payload(CephContext *cct) {
 
72
  virtual void encode_payload(uint64_t features) {
73
73
    ::encode(map_epoch, payload);
74
74
    ::encode(reqid, payload);
75
75
    ::encode(pgid, payload);
119
119
    memset(&peer_stat, 0, sizeof(peer_stat));
120
120
    set_tid(req->get_tid());
121
121
  }
122
 
  MOSDSubOpReply() {}
 
122
  MOSDSubOpReply() : Message(MSG_OSD_SUBOPREPLY) {}
123
123
private:
124
124
  ~MOSDSubOpReply() {}
125
125
 
126
126
public:
127
 
  const char *get_type_name() { return "osd_op_reply"; }
 
127
  const char *get_type_name() const { return "osd_op_reply"; }
128
128
  
129
 
  void print(ostream& out) {
 
129
  void print(ostream& out) const {
130
130
    out << "osd_sub_op_reply(" << reqid
131
131
        << " " << pgid 
132
132
        << " " << poid << " " << ops;