]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/d4n: copying over read op params of the filter driver to
authorPritha Srivastava <prsrivas@redhat.com>
Fri, 13 Oct 2023 06:34:52 +0000 (12:04 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 2 Apr 2024 15:54:51 +0000 (21:24 +0530)
the read op params of 'next' in prepare() method, to be used
while storing objects to the backend store.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/driver/d4n/rgw_sal_d4n.cc

index 1a17915bb8749500e8c3b6b408f9a25a907a4a01..cea91feb76ca24e77ea9405ea217099b68e29e6b 100644 (file)
@@ -364,6 +364,14 @@ int D4NFilterObject::D4NFilterReadOp::prepare(optional_yield y, const DoutPrefix
                                                                         source->get_key().get_oid(), 
                                                                         attrs, y);
 
+  next->params.mod_ptr = params.mod_ptr;
+  next->params.unmod_ptr = params.unmod_ptr;
+  next->params.high_precision_time = params.high_precision_time;
+  next->params.mod_zone_id = params.mod_zone_id;
+  next->params.mod_pg_ver = params.mod_pg_ver;
+  next->params.if_match = params.if_match;
+  next->params.if_nomatch = params.if_nomatch;
+  next->params.lastmod = params.lastmod;
   int ret = next->prepare(y, dpp);
   
   if (getObjReturn < 0) {