From: Casey Bodley Date: Tue, 30 May 2023 17:53:02 +0000 (-0400) Subject: rgw: expose part id in RGWObjManifest iterator X-Git-Tag: v17.2.7~116^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=806f524cbe28577a350bb23eba8ba5f1eb6ba200;p=ceph.git rgw: expose part id in RGWObjManifest iterator Signed-off-by: Casey Bodley (cherry picked from commit 07d28bac1513661a96462444843ff74527d275be) --- diff --git a/src/rgw/rgw_obj_manifest.h b/src/rgw/rgw_obj_manifest.h index a3d82a66808b..48e0c1e5a4ea 100644 --- a/src/rgw/rgw_obj_manifest.h +++ b/src/rgw/rgw_obj_manifest.h @@ -537,6 +537,10 @@ public: return ofs; } + int get_cur_part_id() const { + return cur_part_id; + } + /* stripe number */ int get_cur_stripe() const { return cur_stripe;