docs: Fix a couple of typos in throttle.txt
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
@@ -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
Quoted 4 lines · Alberto Garcia
Signed-off-by Alberto Garcia <[email protected]>--- docs/throttle.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 24 lines
docs/throttle.txt +2
-2@@ -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
Quoted 17 lines · Eric Blake
Quoted 4 lines · Alberto Garcia
Signed-off-by Alberto Garcia <[email protected]>--- docs/throttle.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Reviewed-by Eric Blake <[email protected]>Quoted 9 lines
docs/throttle.txt +0
-0@@ -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
-0The 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
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 = 120000docs/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
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 = 120000docs/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
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 = 120000docs/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
Michael Tokarev
AppliedApplied to -trivial, thanks!
/mjt