]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw_file: set s->obj_size from bytes_written 18599/head
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 26 Oct 2017 22:28:10 +0000 (18:28 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 27 Oct 2017 18:58:56 +0000 (14:58 -0400)
commitadd8c3db195acfda75a1628196e839b0147e7c3f
tree8651569207219c4ffcd1923978c5900a5cded80b
parent04acd559db55c6e8040a2ba65a850e72a04ad2ab
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>
(cherry picked from commit b1f528d35aeccabb4e5818aec6feb8e53e562500)
src/rgw/rgw_file.cc