this would avoid calling encode function.
Signed-off-by: Xinze Chi <xinze@xsky.com>
update_snaps,
&(rm->localt));
- rm->bytes_written = rm->opt.get_encoded_bytes();
-
rm->opt.register_on_commit(
parent->bless_context(
new C_OSD_RepModifyCommit(this, rm)));
eversion_t last_complete;
epoch_t epoch_started;
- uint64_t bytes_written;
-
ObjectStore::Transaction opt, localt;
RepModify() : applied(false), committed(false), ackerosd(-1),
- epoch_started(0), bytes_written(0) {}
+ epoch_started(0) {}
};
typedef ceph::shared_ptr<RepModify> RepModifyRef;