osd/ReplicatedBackend: let MOSDRepOP record the correctly largest_data_off_in_data_bl.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
This commit is contained in:
Jianpeng Ma 2016-05-13 23:13:34 +08:00 committed by Sage Weil
parent 2b0ea15b56
commit ac898e61cb

View File

@ -1066,6 +1066,7 @@ Message * ReplicatedBackend::generate_subop(
::encode(t, wr->get_data());
} else {
::encode(op_t, wr->get_data());
wr->get_header().data_off = op_t.get_data_alignment();
}
::encode(log_entries, wr->logbl);