qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
@ 2016-05-24 11:59 Alberto Garcia
  2016-05-24 23:11 ` Eric Blake
  2016-05-29  8:39 ` Michael Tokarev
  0 siblings, 2 replies; 7+ messages in thread
From: Alberto Garcia @ 2016-05-24 11:59 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Alberto Garcia

Signed-off-by: Alberto Garcia <berto@igalia.com>
---
 docs/throttle.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/throttle.txt b/docs/throttle.txt
index 06ed9b3..b4431f6 100644
--- a/docs/throttle.txt
+++ b/docs/throttle.txt
@@ -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
-- 
2.8.1

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-24 11:59 [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt Alberto Garcia
@ 2016-05-24 23:11 ` Eric Blake
  2016-05-30  6:49   ` Changlong Xie
  2016-05-29  8:39 ` Michael Tokarev
  1 sibling, 1 reply; 7+ messages in thread
From: Eric Blake @ 2016-05-24 23:11 UTC (permalink / raw)
  To: Alberto Garcia, qemu-devel; +Cc: qemu-trivial

[-- Attachment #1: Type: text/plain, Size: 1552 bytes --]

On 05/24/2016 05:59 AM, Alberto Garcia wrote:
> Signed-off-by: Alberto Garcia <berto@igalia.com>
> ---
>  docs/throttle.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/docs/throttle.txt b/docs/throttle.txt
> index 06ed9b3..b4431f6 100644
> --- a/docs/throttle.txt
> +++ b/docs/throttle.txt
> @@ -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
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-24 11:59 [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt Alberto Garcia
  2016-05-24 23:11 ` Eric Blake
@ 2016-05-29  8:39 ` Michael Tokarev
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Tokarev @ 2016-05-29  8:39 UTC (permalink / raw)
  To: Alberto Garcia, qemu-devel; +Cc: qemu-trivial

Applied to -trivial, thanks!

/mjt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-24 23:11 ` Eric Blake
@ 2016-05-30  6:49   ` Changlong Xie
  2016-05-30 10:00     ` Alberto Garcia
  0 siblings, 1 reply; 7+ messages in thread
From: Changlong Xie @ 2016-05-30  6:49 UTC (permalink / raw)
  To: Eric Blake, Alberto Garcia, qemu-devel; +Cc: qemu-trivial

On 05/25/2016 07:11 AM, Eric Blake wrote:
> On 05/24/2016 05:59 AM, Alberto Garcia wrote:
>> Signed-off-by: Alberto Garcia <berto@igalia.com>
>> ---
>>   docs/throttle.txt | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
>
>>
>> diff --git a/docs/throttle.txt b/docs/throttle.txt
>> index 06ed9b3..b4431f6 100644
>> --- a/docs/throttle.txt
>> +++ b/docs/throttle.txt
>> @@ -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.

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

Thanks
	-Xie
>>
>>   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
>>
>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-30  6:49   ` Changlong Xie
@ 2016-05-30 10:00     ` Alberto Garcia
  2016-05-30 10:19       ` Changlong Xie
  2016-06-01  8:01       ` Michael Tokarev
  0 siblings, 2 replies; 7+ messages in thread
From: Alberto Garcia @ 2016-05-30 10:00 UTC (permalink / raw)
  To: Changlong Xie, Eric Blake, qemu-devel; +Cc: qemu-trivial, Michael Tokarev

On Mon 30 May 2016 08:49:18 AM CEST, Changlong Xie wrote:
>>>     - 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?

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-30 10:00     ` Alberto Garcia
@ 2016-05-30 10:19       ` Changlong Xie
  2016-06-01  8:01       ` Michael Tokarev
  1 sibling, 0 replies; 7+ messages in thread
From: Changlong Xie @ 2016-05-30 10:19 UTC (permalink / raw)
  To: Alberto Garcia, Eric Blake, qemu-devel; +Cc: qemu-trivial, Michael Tokarev

On 05/30/2016 06:00 PM, Alberto Garcia wrote:
> On Mon 30 May 2016 08:49:18 AM CEST, Changlong Xie wrote:
>>>>      - 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?
>
> 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

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt
  2016-05-30 10:00     ` Alberto Garcia
  2016-05-30 10:19       ` Changlong Xie
@ 2016-06-01  8:01       ` Michael Tokarev
  1 sibling, 0 replies; 7+ messages in thread
From: Michael Tokarev @ 2016-06-01  8:01 UTC (permalink / raw)
  To: Alberto Garcia, Changlong Xie, Eric Blake, qemu-devel; +Cc: qemu-trivial

30.05.2016 13:00, Alberto Garcia wrote:
> On Mon 30 May 2016 08:49:18 AM CEST, Changlong Xie wrote:
>>>>     - 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?
> 
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-06-01  8:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-24 11:59 [Qemu-devel] [PATCH] docs: Fix a couple of typos in throttle.txt Alberto Garcia
2016-05-24 23:11 ` Eric Blake
2016-05-30  6:49   ` Changlong Xie
2016-05-30 10:00     ` Alberto Garcia
2016-05-30 10:19       ` Changlong Xie
2016-06-01  8:01       ` Michael Tokarev
2016-05-29  8:39 ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).