From 9d84f25514b9a7940d1ca077f65b9a739e1bc449 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 11 Mar 2025 15:41:19 -0400 Subject: [PATCH] cls/rgw: log input arguments to rgw_bucket_list() Signed-off-by: Casey Bodley (cherry picked from commit 9f55c66709b4054c62e2a4847bddcd4ec89aea76) --- src/cls/rgw/cls_rgw.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc index 85a773d3ce4e4..665f42e8e46d6 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 -- 2.39.5