mirror of
https://github.com/ceph/ceph
synced 2024-12-27 22:13:28 +00:00
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:
parent
2b0ea15b56
commit
ac898e61cb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user