From e93818df33286a2a7f73b593dc20da412db4e0a6 Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Sat, 2 Aug 2014 13:01:05 -0700 Subject: [PATCH] rgw: need to pass need_to_wait for throttle_data() need_to_wait wasn't passed into processor->throttle_data(). This was broken in fix for #8937. CID 1229541: (PW.PARAM_SET_BUT_NOT_USED) Backport: firefly Signed-off-by: Yehuda Sadeh --- src/rgw/rgw_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 0bc6f71725ba..9b24a4def30c 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -1583,7 +1583,7 @@ static int put_data_and_throttle(RGWPutObjProcessor *processor, bufferlist& data hash = NULL; /* only calculate hash once */ } - ret = processor->throttle_data(handle, false); + ret = processor->throttle_data(handle, need_to_wait); if (ret < 0) return ret; -- 2.47.3