New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rgw: use uncompressed size for range_to_ofs() in slo/dlo #15931

merged 1 commit into from Jun 27, 2017


None yet
3 participants

cbodley commented Jun 26, 2017

new swift tests for slo/dlo in ceph/swift#3 pass when compression is disabled, but a number of them fail in teuthology (with compression type = random)

calls to RGWRados::Object::Read::range_to_ofs() need to use the uncompressed object size (from rgw_bucket_dir_entry_meta::accounted_size) instead of relying on the rados object size

for dlo, iterate_user_manifest_parts() gets the accounted_sizes by listing the bucket index. for slo, iterate_slo_parts() fills in the accounted_sizes according to the slo manifest

rgw: use uncompressed size for range_to_ofs() in slo/dlo
Signed-off-by: Casey Bodley <>

@cbodley cbodley added this to the luminous milestone Jun 26, 2017

@cbodley cbodley requested review from yehudasa and oritwas Jun 26, 2017



@yuriw yuriw merged commit 8d42ecd into ceph:master Jun 27, 2017

4 checks passed

Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
default Build finished.
make check make check succeeded

@cbodley cbodley deleted the cbodley:wip-rgw-slo-compression branch Jun 27, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment