]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_file: set s->obj_size from bytes_written
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 26 Oct 2017 22:28:10 +0000 (18:28 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 26 Oct 2017 23:23:09 +0000 (19:23 -0400)
commitb1f528d35aeccabb4e5818aec6feb8e53e562500
tree3782b0ba2946c727f6325bbefbaecdb78963fae6
parenta7efb9d84f78bde3875cd8a88be1eb5395053592
rgw_file:  set s->obj_size from bytes_written

Required to store correct final accounted_size of objects in
RGWWriteWriteRequest::write_finish.

Fixes: http://tracker.ceph.com/issues/21940
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/rgw_file.cc