[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling
From: |
Alberto Garcia |
Subject: |
Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling |
Date: |
Thu, 31 Aug 2017 15:34:16 +0200 |
User-agent: |
Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (i586-pc-linux-gnu) |
On Wed 30 Aug 2017 05:12:22 PM CEST, Pradeep Jagadeesh wrote:
> On 8/30/2017 5:10 PM, Alberto Garcia wrote:
>> On Wed 30 Aug 2017 05:07:29 PM CEST, Pradeep Jagadeesh wrote:
>>
>>> Thanks for the steps, I did reproduce the issue easily. Looking into
>>> the code, may be we also need to try the same with the block devices.
>>
>> I did some tests and it was working fine, so I'd suspect of the fsdev
>> code first.
>>
> OK, thanks for the clarification. I will look into fsdev code.
I just took a quick look at the code, the problem is almost certainly in
fsdev_set_io_throttle(): that doesn't simply update the config, it also
reinitializes the FsThrottle structure completely, creates new timers
and new throttled_reqs queues. If there were pending requests there
they're probably lost forever.
Take a look at blk_set_io_limits() and see how it is done for block
devices.
Berto
- [Qemu-devel] [PATCH v8 2/6] qmp: Create IOThrottle structure, (continued)
- [Qemu-devel] [PATCH v8 2/6] qmp: Create IOThrottle structure, Pradeep Jagadeesh, 2017/08/29
- [Qemu-devel] [PATCH v8 4/6] hmp: create a throttle initialization function for code reusability, Pradeep Jagadeesh, 2017/08/29
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Alberto Garcia, 2017/08/29
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Alberto Garcia, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Alberto Garcia, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Alberto Garcia, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/30
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling,
Alberto Garcia <=
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Pradeep Jagadeesh, 2017/08/31
- Re: [Qemu-devel] [PATCH v8 0/6] fsdev: qmp interface for io throttling, Greg Kurz, 2017/08/30