From: Matt Benjamin Date: Sun, 5 May 2024 18:27:06 +0000 (-0400) Subject: rgw_cksum: fix ReadOp comment X-Git-Tag: testing/wip-vshankar-testing-20240704.104311-debug~8^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=6ef9a282fdd40d03dac242d9a40f296294d3012f;p=ceph-ci.git rgw_cksum: fix ReadOp comment parts_count now returns a value for parts_count whenever the target object is a multipart upload. this has no additional overhead, since this can be read off the manifest Signed-off-by: Matt Benjamin --- diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 1701f1b3dc9..9bc23f2d0ae 100644 --- a/src/rgw/rgw_sal.h +++ b/src/rgw/rgw_sal.h @@ -1049,8 +1049,8 @@ class Object { /// If non-null, read data/attributes from the given multipart part. int* part_num{nullptr}; - /// If part_num is specified and the object is multipart, the total - /// number of multipart parts is assigned to this output parameter. + /// If the object is multipart, the total number of multipart + /// parts is assigned to this output parameter. std::optional parts_count; } params;