]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/cache: this commit adds entries to redis driver and squashes the
authorSamarah <samarah.uriarte@ibm.com>
Thu, 9 Nov 2023 16:39:15 +0000 (16:39 +0000)
committerPritha Srivastava <prsrivas@redhat.com>
Tue, 2 Apr 2024 15:54:51 +0000 (21:24 +0530)
following two commits.

rgw: Update D4N policy and RedisDriver with entries
rgw/d4n: fixing compilation error in d4n policy code.

Signed-off-by: Samarah <samarah.uriarte@ibm.com>
Co-authored-by: Pritha Srivastava <prsrivas@redhat.com>
src/rgw/driver/d4n/rgw_sal_d4n.cc
src/rgw/driver/d4n/rgw_sal_d4n.h

index cea91feb76ca24e77ea9405ea217099b68e29e6b..ab1fbeca32c1fb65a3436fb63e974a4258d99337 100644 (file)
@@ -360,9 +360,8 @@ std::unique_ptr<Object::DeleteOp> D4NFilterObject::get_delete_op()
 int D4NFilterObject::D4NFilterReadOp::prepare(optional_yield y, const DoutPrefixProvider* dpp)
 {
   rgw::sal::Attrs attrs;
-  int getObjReturn = source->driver->get_cache_driver()->get_attrs(dpp, 
-                                                                        source->get_key().get_oid(), 
-                                                                        attrs, y);
+  int getObjReturn = source->driver->get_cache_driver()->get_attrs(dpp, source->get_key().get_oid(), 
+                                                                   attrs, y);
 
   next->params.mod_ptr = params.mod_ptr;
   next->params.unmod_ptr = params.unmod_ptr;
index c5961cfb078d4b5957da61da58ddaf473fded3b0..1b8c893c2e7949dcfa314c3ea3f53ac08e132ab6 100644 (file)
@@ -22,6 +22,7 @@
 #include "common/dout.h" 
 #include "rgw_aio_throttle.h"
 
+#include "rgw_redis_driver.h"
 #include "driver/d4n/d4n_directory.h"
 #include "driver/d4n/d4n_policy.h"