[pve-devel] Limit disk IO
Martin Maurer
martin at proxmox.com
Tue Jun 12 17:24:44 CEST 2012
Hi Timo,
In order to include your contributions we need a signed contributor agreement (Signed by Profihost)
See http://pve.proxmox.com/wiki/Developer_Documentation#Software_License_and_Copyright
Pls send it directly to me (sign/scan/email)
Martin
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Timo Grodzinski
> Sent: Dienstag, 12. Juni 2012 09:29
> To: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] Limit disk IO
>
> Am 07.06.2012 12:58, schrieb Timo Grodzinski:
> > ...
> > I want to make the configuration of the disk io limit available via
> > web interface.
> > ...
>
> Here is the patch.
> Are there some comments, anything to change, pretty it up, ... ?
>
> Timo
>
> diff --git a/www/manager/qemu/HDEdit.js b/www/manager/qemu/HDEdit.js
> index 6b0dfc1..679e5c4 100644
> --- a/www/manager/qemu/HDEdit.js
> +++ b/www/manager/qemu/HDEdit.js
> @@ -211,6 +211,40 @@ Ext.define('PVE.qemu.HDInputPanel', {
> });
> }
>
> + me.bps_rd = Ext.widget('numberfield', {
> + name: 'bps_read',
> + minValue: 0,
> + value: '0',
> + fieldLabel: 'Read IO (byte/s)',
> + allowBlank: false
> + });
> + me.column2.push(me.bps_rd);
> + me.bps_wr = Ext.widget('numberfield', {
> + name: 'bps_write',
> + minValue: 0,
> + value: '0',
> + fieldLabel: 'Write IO (byte/s)',
> + allowBlank: false
> + });
> + me.column2.push(me.bps_wr);
> +
> + me.iops_rd = Ext.widget('numberfield', {
> + name: 'iops_read',
> + minValue: 0,
> + value: '0',
> + fieldLabel: 'Read IO (ops/s)',
> + allowBlank: false
> + });
> + me.column2.push(me.iops_rd);
> + me.iops_wr = Ext.widget('numberfield', {
> + name: 'iops_write',
> + minValue: 0,
> + value: '0',
> + fieldLabel: 'Write IO (ops/s)',
> + allowBlank: false
> + });
> + me.column2.push(me.iops_wr);
> +
> me.callParent();
> }
> });
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list