]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cls/rgw: log input arguments to rgw_bucket_list()
authorCasey Bodley <cbodley@redhat.com>
Tue, 11 Mar 2025 19:41:19 +0000 (15:41 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 31 Mar 2025 21:03:22 +0000 (17:03 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9f55c66709b4054c62e2a4847bddcd4ec89aea76)

src/cls/rgw/cls_rgw.cc

index 85a773d3ce4e43ff45481ad897a819a465bf86a8..665f42e8e46d672e1faf8ce40e72d8bdc0c8b803 100644 (file)
@@ -478,8 +478,6 @@ static int read_bucket_header(cls_method_context_t hctx,
 
 int rgw_bucket_list(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
 {
-  CLS_LOG(10, "entered %s", __func__);
-
   // maximum number of calls to get_obj_vals we'll try; compromise
   // between wanting to return the requested # of entries, but not
   // wanting to slow down this op with too many omap reads
@@ -495,6 +493,10 @@ int rgw_bucket_list(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
     return -EINVAL;
   }
 
+  CLS_LOG(10, "entered %s start=%s count=%u prefix=%s delim=%s versioned=%d",
+          __func__, op.start_obj.to_string().c_str(), op.num_entries,
+          op.filter_prefix.c_str(), op.delimiter.c_str(), (int)op.list_versions);
+
   rgw_cls_list_ret ret;
   rgw_bucket_dir& new_dir = ret.dir;
   auto& name_entry_map = new_dir.m; // map of keys to entries