]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_cksum: fix ReadOp comment
authorMatt Benjamin <mbenjamin@redhat.com>
Sun, 5 May 2024 18:27:06 +0000 (14:27 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Wed, 3 Jul 2024 18:39:05 +0000 (14:39 -0400)
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 <mbenjamin@redhat.com>
src/rgw/rgw_sal.h

index 1701f1b3dc982268df7a482dcef0afdae0cdf526..9bc23f2d0aed8c99dc3df5b03374fbb2530be457 100644 (file)
@@ -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<int> parts_count;
       } params;