From: Pritha Srivastava Date: Fri, 13 Oct 2023 06:34:52 +0000 (+0530) Subject: rgw/d4n: copying over read op params of the filter driver to X-Git-Tag: v20.0.0~2219^2~58 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5595de4c4d6aa643e11be11570c576e5312a1ffd;p=ceph.git rgw/d4n: copying over read op params of the filter driver to the read op params of 'next' in prepare() method, to be used while storing objects to the backend store. Signed-off-by: Pritha Srivastava --- diff --git a/src/rgw/driver/d4n/rgw_sal_d4n.cc b/src/rgw/driver/d4n/rgw_sal_d4n.cc index 1a17915bb87..cea91feb76c 100644 --- a/src/rgw/driver/d4n/rgw_sal_d4n.cc +++ b/src/rgw/driver/d4n/rgw_sal_d4n.cc @@ -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) {