From: Stefan Hajnoczi <stefanha@redhat.com>
To: Francesco Romani <fromani@redhat.com>
Cc: kwolf@redhat.com, mdroth@linux.vnet.ibm.com,
qemu-devel@nongnu.org, lcapitulino@redhat.com
Subject: Re: [Qemu-devel] [PATCHv3] block: add event when disk usage exceeds threshold
Date: Tue, 2 Dec 2014 15:01:17 +0000 [thread overview]
Message-ID: <20141202150117.GA12390@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1417177867-27918-2-git-send-email-fromani@redhat.com>
[-- Attachment #1: Type: text/plain, Size: 441 bytes --]
On Fri, Nov 28, 2014 at 01:31:07PM +0100, Francesco Romani wrote:
> @@ -82,6 +83,8 @@ BlockDeviceInfo *bdrv_block_device_info(BlockDriverState *bs)
> info->iops_size = cfg.op_size;
> }
>
> + info->write_threshold = bdrv_usage_threshold_get(bs);
Overall looks good but I notice that "write_threshold" and
"usage_threshold" are both used. Please use just one consistently (I
think "write_threshold" is clearer).
[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]
next prev parent reply other threads:[~2014-12-02 15:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-28 12:31 [Qemu-devel] [PATCH v3] add write threshold reporting for block devices Francesco Romani
2014-11-28 12:31 ` [Qemu-devel] [PATCHv3] block: add event when disk usage exceeds threshold Francesco Romani
2014-12-01 21:07 ` Eric Blake
2014-12-02 7:47 ` Francesco Romani
2014-12-02 8:07 ` Francesco Romani
2014-12-02 15:01 ` Stefan Hajnoczi [this message]
2014-12-02 15:11 ` Francesco Romani
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=20141202150117.GA12390@stefanha-thinkpad.redhat.com \
--to=stefanha@redhat.com \
--cc=fromani@redhat.com \
--cc=kwolf@redhat.com \
--cc=lcapitulino@redhat.com \
--cc=mdroth@linux.vnet.ibm.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).