]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librgw: improve rgw_write and add WRITE_READ_VERIFY
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 29 Oct 2015 18:58:47 +0000 (14:58 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Fri, 12 Feb 2016 17:05:26 +0000 (12:05 -0500)
commit540ce769ceaa860c8d4ff24f4fd2f5adc1ca2abc
treee3cac0be2c5ca67112ab640597a53ea1176bd5bc
parent421f5eccfe87419cff4db1821347e767e5299b7a
librgw: improve rgw_write and add WRITE_READ_VERIFY

Update rgw_write to return bytes written as an OUT argument,
use and verify in PUT test.

A new WRITE_READ_VERIFY test writes 16 checksummed, 64K data pages
to the object when --bulk specified.  The returned write value is
checked, but pages not re-read (yet).

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/include/rados/rgw_file.h
src/rgw/rgw_file.cc
src/rgw/rgw_file.h
src/test/librgw_file_gp.cc