summaryrefslogtreecommitdiffstats
path: root/src/messages
diff options
context:
space:
mode:
authorJianpeng Ma <jianpeng.ma@intel.com>2014-12-11 03:08:45 +0100
committerJianpeng Ma <jianpeng.ma@intel.com>2014-12-12 07:23:35 +0100
commit5f92d825ea49d51218cccd168ac9327a51631d8c (patch)
tree7a225fee3172ce47af0f14de00eb0399595a41fc /src/messages
parentinclude: Remove unused code: class triple. (diff)
downloadceph-5f92d825ea49d51218cccd168ac9327a51631d8c.tar.xz
ceph-5f92d825ea49d51218cccd168ac9327a51631d8c.zip
osd: Make async-read can handle fadvise flags.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Diffstat (limited to 'src/messages')
-rw-r--r--src/messages/MOSDECSubOpRead.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/messages/MOSDECSubOpRead.h b/src/messages/MOSDECSubOpRead.h
index 99e62e6c48a..3e315ef26a8 100644
--- a/src/messages/MOSDECSubOpRead.h
+++ b/src/messages/MOSDECSubOpRead.h
@@ -20,7 +20,7 @@
#include "osd/ECMsgTypes.h"
class MOSDECSubOpRead : public Message {
- static const int HEAD_VERSION = 1;
+ static const int HEAD_VERSION = 2;
static const int COMPAT_VERSION = 1;
public:
@@ -46,7 +46,7 @@ public:
virtual void encode_payload(uint64_t features) {
::encode(pgid, payload);
::encode(map_epoch, payload);
- ::encode(op, payload);
+ ::encode(op, payload, features);
}
const char *get_type_name() const { return "MOSDECSubOpRead"; }