Skip to contentSkip to conversation

docs: Fix a couple of typos in throttle.txt

PATCH Applied Alberto Garcia 4 participants 7 messages May 24, 2016 – Jun 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Fix a couple of typos in throttle.txt

---
 docs/throttle.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
docs/throttle.txt +2 -2
index 06ed9b3..b4431f6 100644
@@ -39,7 +39,7 @@ the parameters for both cases:
 | throttling.bps-write  | bps_wr                |
 |-----------------------+-----------------------|
 
-It is possible to set limits for both IOPS and bps and the same time,
+It is possible to set limits for both IOPS and bps at the same time,
 and for each case we can decide whether to have separate read and
 write limits or not, but note that if iops-total is set then neither
 iops-read nor iops-write can be set. The same applies to bps-total and
@@ -235,7 +235,7 @@ consider the following values:
   - Water leaks from the bucket at a rate of 100 IOPS.
   - Water can be added to the bucket at a rate of 2000 IOPS.
   - The size of the bucket is 2000 x 60 = 120000
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.
 
 The bucket is initially empty, therefore water can be added until it's
 full at a rate of 2000 IOPS (the burst rate). Once the bucket is full
Signature · 1 line
2.8.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alberto Garcia
---
 docs/throttle.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 24 lines
docs/throttle.txt +2 -2
index 06ed9b3..b4431f6 100644
@@ -39,7 +39,7 @@ the parameters for both cases:
 | throttling.bps-write  | bps_wr                |
 |-----------------------+-----------------------|
 
-It is possible to set limits for both IOPS and bps and the same time,
+It is possible to set limits for both IOPS and bps at the same time,
 and for each case we can decide whether to have separate read and
 write limits or not, but note that if iops-total is set then neither
 iops-read nor iops-write can be set. The same applies to bps-total and
@@ -235,7 +235,7 @@ consider the following values:
   - Water leaks from the bucket at a rate of 100 IOPS.
   - Water can be added to the bucket at a rate of 2000 IOPS.
   - The size of the bucket is 2000 x 60 = 120000
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.
 
 The bucket is initially empty, therefore water can be added until it's
 full at a rate of 2000 IOPS (the burst rate). Once the bucket is full
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org
#2 lore raw
Quoted 17 lines · Eric Blake
Quoted 4 lines · Alberto Garcia
---
  docs/throttle.txt | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 9 lines
docs/throttle.txt +0 -0
index 06ed9b3..b4431f6 100644
@@ -39,7 +39,7 @@ the parameters for both cases:
  | throttling.bps-write  | bps_wr                |
  |-----------------------+-----------------------|
 
Quoted 11 lines

docs/throttle.txt consider the following values: · line 238

Quoted 11 lines
docs/throttle.txt +2 -2
-It is possible to set limits for both IOPS and bps and the same time,
+It is possible to set limits for both IOPS and bps at the same time,
  and for each case we can decide whether to have separate read and
  write limits or not, but note that if iops-total is set then neither
  iops-read nor iops-write can be set. The same applies to bps-total and
@@ -235,7 +235,7 @@ consider the following values:
    - Water leaks from the bucket at a rate of 100 IOPS.
    - Water can be added to the bucket at a rate of 2000 IOPS.
    - The size of the bucket is 2000 x 60 = 120000
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.

Sorry to brother, why the bucket size is 100 rather than 100 x 60?

Thanks
-Xie

Quoted 5 lines
Quoted 4 lines
docs/throttle.txt +0 -0
  The bucket is initially empty, therefore water can be added until it's
  full at a rate of 2000 IOPS (the burst rate). Once the bucket is full
 
#3 lore raw
Quoted 7 lines · Changlong Xie
Quoted 5 lines

docs/throttle.txt consider the following values: · line 238

Quoted 5 lines

- Water leaks from the bucket at a rate of 100 IOPS.
- Water can be added to the bucket at a rate of 2000 IOPS.
- The size of the bucket is 2000 x 60 = 120000

docs/throttle.txt +1 -1
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.

Sorry to brother, why the bucket size is 100 rather than 100 x 60?

Oh, that's because 'iops-total-max-length' can only be set if 'iops-total-max' is set as well. It's explained earlier in the document, maybe I should make it clear there as well.

Michael, shall I send a new patch on top of my previous one or can the previous one be replaced?

Berto

#4 lore raw
Quoted 7 lines · Alberto Garcia
Quoted 6 lines · Changlong Xie
Quoted 5 lines
Quoted 5 lines

- Water leaks from the bucket at a rate of 100 IOPS.
- Water can be added to the bucket at a rate of 2000 IOPS.
- The size of the bucket is 2000 x 60 = 120000

docs/throttle.txt +1 -1
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.
Quoted 5 lines
Quoted 1 line

Sorry to brother, why the bucket size is 100 rather than 100 x 60?

Oh, that's because 'iops-total-max-length' can only be set if 'iops-total-max' is set as well. It's explained earlier in the document, maybe I should make it clear there as well.

Thanks for your explanation,

Thanks
-Xie

Quoted 8 lines

Michael, shall I send a new patch on top of my previous one or can the previous one be replaced?

Berto

#5 lore raw
In reply to Alberto Garcia
Quoted 7 lines · Alberto Garcia
Quoted 6 lines · Changlong Xie
Quoted 5 lines
Quoted 5 lines

- Water leaks from the bucket at a rate of 100 IOPS.
- Water can be added to the bucket at a rate of 2000 IOPS.
- The size of the bucket is 2000 x 60 = 120000

docs/throttle.txt +1 -1
-  - If 'iops-total-max-length' is unset then the bucket size is 100.
+  - If 'iops-total-max' is unset then the bucket size is 100.
Quoted 8 lines
Quoted 1 line

Sorry to brother, why the bucket size is 100 rather than 100 x 60?

Oh, that's because 'iops-total-max-length' can only be set if 'iops-total-max' is set as well. It's explained earlier in the document, maybe I should make it clear there as well.

Michael, shall I send a new patch on top of my previous one or can the previous one be replaced?

I fixed it in the original commit, thanks!

/mjt