From 5595de4c4d6aa643e11be11570c576e5312a1ffd Mon Sep 17 00:00:00 2001 From: Pritha Srivastava Date: Fri, 13 Oct 2023 12:04:52 +0530 Subject: [PATCH] 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 --- src/rgw/driver/d4n/rgw_sal_d4n.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/rgw/driver/d4n/rgw_sal_d4n.cc b/src/rgw/driver/d4n/rgw_sal_d4n.cc index 1a17915bb8749..cea91feb76ca2 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) { -- 2.39.5