From: Casey Bodley Date: Tue, 11 Mar 2025 19:41:19 +0000 (-0400) Subject: cls/rgw: log input arguments to rgw_bucket_list() X-Git-Tag: testing/wip-khiremat-testing-20250424.121018-squid-debug~9^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=aa444d124a8f074121bda4836e53260ba32fa3d6;p=ceph-ci.git cls/rgw: log input arguments to rgw_bucket_list() Signed-off-by: Casey Bodley (cherry picked from commit 9f55c66709b4054c62e2a4847bddcd4ec89aea76) --- diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index a2cdab035ce..32c83d49bb3 100644 --- a/src/cls/rgw/cls_rgw.cc +++ b/src/cls/rgw/cls_rgw.cc @@ -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