From: Pradeep Jagadeesh <pradeep.jagadeesh@huawei.com>
To: Alberto Garcia <berto@igalia.com>,
Pradeep Jagadeesh <pradeepkiruvale@gmail.com>,
"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>,
Greg Kurz <groug@kaod.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/2 v15] fsdev: add IO throttle support to fsdev devices
Date: Fri, 3 Feb 2017 11:33:33 +0100 [thread overview]
Message-ID: <2937f5b6-b907-0de6-00fb-ee5fae675ed0@huawei.com> (raw)
In-Reply-To: <w51r33fwpn7.fsf@maestria.local.igalia.com>
On 2/3/2017 11:10 AM, Alberto Garcia wrote:
> On Fri 03 Feb 2017 11:04:57 AM CET, Pradeep Jagadeesh wrote:
>> This patchset adds the io throttle support for the 9p-local driver.
>> For now this functionality can be used only through qemu cli options.
>> QMP interface and support to other 9p drivers need further extensions.
>> To make it simple for other 9p drivers, the throttle code has been put in
>> separate files.
>>
>> Signed-off-by: Pradeep Jagadeesh <pradeep.jagadeesh@huawei.com>
>
> I don't see any difference between this patch and the one in v14...
I moved the fsdev_throttle_cleanup() inside the unrealize() function
You want me to clean up even here ?
out:
if (rc) {
/* ... */
fsdev_throttle_cleanup(s->ctx.fst);
/* ... */
}
I thought one place is enough.
Or I did not understand your comment :)
-Pradeep
>
>> +
>> + s->ctx.fst = &fse->fst;
>> + fsdev_throttle_init(s->ctx.fst);
>> +
>> v9fs_path_free(&path);
>>
>> rc = 0;
>> @@ -3528,6 +3532,7 @@ out:
>> if (s->ops && s->ops->cleanup && s->ctx.private) {
>> s->ops->cleanup(&s->ctx);
>> }
>> + fsdev_throttle_cleanup(s->ctx.fst);
>> g_free(s->tag);
>> g_free(s->ctx.fs_root);
>> v9fs_path_free(&path);
>
> Berto
>
next prev parent reply other threads:[~2017-02-03 10:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-03 10:04 [Qemu-devel] [PATCH 0/2 v15] fsdev: add IO throttle support to fsdev devices Pradeep Jagadeesh
2017-02-03 10:04 ` [Qemu-devel] [PATCH 1/2 " Pradeep Jagadeesh
2017-02-03 10:10 ` Alberto Garcia
2017-02-03 10:33 ` Pradeep Jagadeesh [this message]
2017-02-03 10:04 ` [Qemu-devel] [PATCH 2/2 v15] throttle: factor out duplicate code Pradeep Jagadeesh
2017-02-03 10:38 ` Alberto Garcia
2017-02-03 11:58 ` Pradeep Jagadeesh
2017-02-03 10:50 ` [Qemu-devel] [PATCH 0/2 v15] fsdev: add IO throttle support to fsdev devices no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2937f5b6-b907-0de6-00fb-ee5fae675ed0@huawei.com \
--to=pradeep.jagadeesh@huawei.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=berto@igalia.com \
--cc=groug@kaod.org \
--cc=pradeepkiruvale@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).