|
| From: | Paolo Bonzini |
| Subject: | Re: [Qemu-devel] [PATCH 4/7] block: introduce bdrv_no_throttling_begin/end |
| Date: | Wed, 30 Mar 2016 14:27:36 +0200 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 30/03/2016 14:24, Alberto Garcia wrote:
>> > +void bdrv_no_throttling_end(BlockDriverState *bs)
>> > +{
>> > + --bs->io_limits_disabled;
>> > }
> Not very important, but you could assert that this doesn't go below 0.
Sure, why not.
Paolo
| [Prev in Thread] | Current Thread | [Next in Thread] |