Skip to content

Commit 9f55c66

Browse files
committed
cls/rgw: log input arguments to rgw_bucket_list()
Signed-off-by: Casey Bodley <[email protected]>
1 parent 24f55b8 commit 9f55c66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/cls/rgw/cls_rgw.cc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,6 @@ static int read_bucket_header(cls_method_context_t hctx,
528528

529529
int rgw_bucket_list(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
530530
{
531-
CLS_LOG(10, "entered %s", __func__);
532-
533531
// maximum number of calls to get_obj_vals we'll try; compromise
534532
// between wanting to return the requested # of entries, but not
535533
// wanting to slow down this op with too many omap reads
@@ -545,6 +543,10 @@ int rgw_bucket_list(cls_method_context_t hctx, bufferlist *in, bufferlist *out)
545543
return -EINVAL;
546544
}
547545

546+
CLS_LOG(10, "entered %s start=%s count=%u prefix=%s delim=%s versioned=%d",
547+
__func__, op.start_obj.to_string().c_str(), op.num_entries,
548+
op.filter_prefix.c_str(), op.delimiter.c_str(), (int)op.list_versions);
549+
548550
rgw_cls_list_ret ret;
549551
rgw_bucket_dir& new_dir = ret.dir;
550552
auto& name_entry_map = new_dir.m; // map of keys to entries

0 commit comments

Comments
 (0)