All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kurz <groug@kaod.org>
To: Pradeep Jagadeesh <pradeepkiruvale@gmail.com>
Cc: eric blake <eblake@redhat.com>,
	Pradeep Jagadeesh <pradeep.jagadeesh@huawei.com>,
	alberto garcia <berto@igalia.com>,
	Markus Armbruster <armbru@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Manos Pitsidianakis <el13635@mail.ntua.gr>,
	jani kokkonen <jani.kokkonen@huawei.com>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v13 0/6] fsdev: qmp interface for io throttling
Date: Wed, 6 Dec 2017 17:07:05 +0100	[thread overview]
Message-ID: <20171206170705.37cda561@bahia.lan> (raw)
In-Reply-To: <1506954812-6552-1-git-send-email-pradeep.jagadeesh@huawei.com>

On Mon,  2 Oct 2017 10:33:26 -0400
Pradeep Jagadeesh <pradeepkiruvale@gmail.com> wrote:

> These patches provide the qmp interface, to query the io throttle 
> status of the all fsdev devices that are present in a vm.
> also, it provides an interface to set the io throttle parameters of a
> fsdev to a required value. Some of the patches also remove the
> duplicate code that was present in block and fsdev files. 
> 

Hi Pradeep,

I didn't have time to follow the thread, but it's been a month without
activity... where do we stand now ? I've merged I/O throttle for fsdev
in 2.9, is there a chance we get the QMP/HMP part in 2.12 ?

Cheers,

--
Greg

> Pradeep Jagadeesh (6):
>   throttle: factor out duplicate code
>   qmp: Use ThrottleLimits structure
>   qmp: factor out throttle code to reuse code
>   hmp: create a throttle initialization function for code reuse
>   fsdev: QMP interface for throttling
>   fsdev: hmp interface for throttling
> 
>  Makefile                        |   3 +-
>  blockdev.c                      |  97 ++-------------------------
>  fsdev/qemu-fsdev-dummy.c        |  11 +++
>  fsdev/qemu-fsdev-throttle.c     | 144 ++++++++++++++++++++++++++--------------
>  fsdev/qemu-fsdev-throttle.h     |   9 ++-
>  fsdev/qemu-fsdev.c              |  30 +++++++++
>  hmp-commands-info.hx            |  18 +++++
>  hmp-commands.hx                 |  19 ++++++
>  hmp.c                           |  81 ++++++++++++++++++++--
>  hmp.h                           |   4 ++
>  include/qemu/throttle-options.h |   3 +
>  include/qemu/throttle.h         |   4 +-
>  include/qemu/typedefs.h         |   1 +
>  monitor.c                       |   5 ++
>  qapi-schema.json                |   4 ++
>  qapi/block-core.json            |  75 +--------------------
>  qapi/fsdev.json                 |  94 ++++++++++++++++++++++++++
>  qmp.c                           |  14 ++++
>  util/throttle.c                 |  70 +++++++++++++++++++
>  19 files changed, 462 insertions(+), 224 deletions(-)
>  create mode 100644 qapi/fsdev.json
> 
> v0 -> v1:
>  Addressed comments from Eric Blake, Greg Kurz and Daniel P.Berrange
>  Mainly renaming the functions and removing the redundant code.
> 
> v1 -> v2:
>  Addressed comments from Eric Blake and Greg Kurz.
>  As per the suggestion I split the patches into smaller patches.
>  Removed some more duplicate code.
> 
> v2 -> v3:
>  Addresssed comments from Alberto Garcia.
>  Changed the comment from block to iothrottle in the iothrottle.json 
>  Added the dummy functions in qemu-fsdev-dummy.c to address the compilation
>  issues that were observed.
> 
> v3 -> v4:
>  Addressed comments from Eric Blake and Greg Kurz
>  Re-ordered the patches
>  Added the dummy functions in qmp.c to address the cross compilation issues
> 
> v4 -> v5:
>   Addressed comments from Eric Blake and Greg Kurz
>   Split the fsdev qmp patch into hmp and qmp related patches
>   Moved the common functionalities to throttle.c instead of creating
>   a new file
> 
> v5 -> v6:
>   Addressed comments from Greg Kurz and Markus Armbruster
>   Split the commits to specific to hmp and throttle as suggested by Greg
>   Moved ThrottleConfig typedef to qemu/typedefs.h
>   Addressed compilation issue on FreeBSD by adding flags in qmp.c
> 
> v6 -> v7:
>   Addressed comments from Albert Garcia and Dr. David Alan Gilbert
>   Fixed the hmp-commands-info.hx and hmp-commands.hx as per Dr. David's
>   comments.
>   Fixed the bug with the hmp fsdev_set_io_throttle and info fsdev_iothrottle  
> 
> v7 -> v8:
>   Addressed comments from Markus Armbruster and Eric Blake
>   Removed unwanted headers from qmp-fsdev-throttle.h
> 
> v8 -> v9:
>   Addressed comments from Markus Armbruster and Eric Blake
>   Removed the iothrottle.json and pushed the iothrottle struct to
>   block-core.json
> 
> v9 -> v10:
>   Addressed comments from Albert Garcia
>   Fixed issue related to dynamically passing throttle configuration
>   Removed some unused code
> 
> v10 -> v11:
>   Addressed the comments from Markus Armbruster and Eric Blake
>   Rebased the patches over 2.10
> 
> v11 -> v12:
>   Addressed comments by Manos Pitsidiankis
>   Moved back the device id to the fsdeviothrottle structure
> 
> v12 -> v13:
>   Addressed comments by Manos Pitsidiankis
>   Replaced the throttle config strings with the macros

  parent reply	other threads:[~2017-12-06 16:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 14:33 [Qemu-devel] [PATCH v13 0/6] fsdev: qmp interface for io throttling Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 1/6] throttle: factor out duplicate code Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 2/6] qmp: Use ThrottleLimits structure Pradeep Jagadeesh
2017-10-13 14:16   ` Alberto Garcia
2017-10-13 14:26     ` Eric Blake
2017-11-02 10:25       ` Pradeep Jagadeesh
2017-11-06  9:35       ` Manos Pitsidianakis
2017-11-06 12:52         ` Pradeep Jagadeesh
2017-11-13 13:02       ` Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 3/6] qmp: factor out throttle code to reuse code Pradeep Jagadeesh
2017-10-13 14:29   ` Alberto Garcia
2017-11-02 10:55     ` Pradeep Jagadeesh
2017-11-02 11:00       ` Alberto Garcia
2017-11-02 12:03         ` Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 4/6] hmp: create a throttle initialization function for code reuse Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 5/6] fsdev: QMP interface for throttling Pradeep Jagadeesh
2017-10-02 14:33 ` [Qemu-devel] [PATCH v13 6/6] fsdev: hmp " Pradeep Jagadeesh
2017-10-13 13:55   ` Alberto Garcia
2017-10-02 15:34 ` [Qemu-devel] [PATCH v13 0/6] fsdev: qmp interface for io throttling no-reply
2017-12-06 16:07 ` Greg Kurz [this message]
2017-12-06 16:15   ` Pradeep Jagadeesh
2017-12-06 16:49     ` Eric Blake
2017-12-06 17:12       ` Pradeep Jagadeesh

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=20171206170705.37cda561@bahia.lan \
    --to=groug@kaod.org \
    --cc=armbru@redhat.com \
    --cc=berto@igalia.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=el13635@mail.ntua.gr \
    --cc=jani.kokkonen@huawei.com \
    --cc=pradeep.jagadeesh@huawei.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.