From: Dongsheng Yang Date: Tue, 12 Sep 2017 16:39:50 +0000 (+0800) Subject: librbd: limit IO per second by TokenBucketThrottle X-Git-Tag: v13.0.1~220^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17032%2Fhead;p=ceph.git librbd: limit IO per second by TokenBucketThrottle Signed-off-by: Dongsheng Yang --- diff --git a/qa/suites/rbd/thrash/workloads/rbd_fsx_rate_limit.yaml b/qa/suites/rbd/thrash/workloads/rbd_fsx_rate_limit.yaml new file mode 100644 index 000000000000..6e07e591f59a --- /dev/null +++ b/qa/suites/rbd/thrash/workloads/rbd_fsx_rate_limit.yaml @@ -0,0 +1,9 @@ +tasks: +- rbd_fsx: + clients: [client.0] + ops: 6000 +overrides: + ceph: + conf: + client: + rbd qos iops limit: 50 diff --git a/src/common/options.cc b/src/common/options.cc index 111ab63502ac..738be272f4e4 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5419,6 +5419,10 @@ static std::vector