[pve-devel] [PATCH v2 manager] fix #1230: add blocksize for ZFSPoolPlugin

Dietmar Maurer dietmar at proxmox.com
Tue Jan 3 13:01:19 CET 2017


Applied - but I wonder why I can set blocksize to any string???
for example 'efefef'?

> On January 3, 2017 at 12:23 PM Fabian Grünbichler <f.gruenbichler at proxmox.com>
> wrote:
> 
> 
> Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
> ---
> Changes to v1:
> - use emptyText instead of value
> 
>  www/manager6/storage/ZFSPoolEdit.js | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/www/manager6/storage/ZFSPoolEdit.js
> b/www/manager6/storage/ZFSPoolEdit.js
> index 01bc4f6..6d4e70d 100644
> --- a/www/manager6/storage/ZFSPoolEdit.js
> +++ b/www/manager6/storage/ZFSPoolEdit.js
> @@ -108,6 +108,13 @@ Ext.define('PVE.storage.ZFSPoolInputPanel', {
>  		checked: false,
>  		uncheckedValue: 0,
>  		fieldLabel: gettext('Thin provision')
> +	    },
> +	    {
> +		xtype: 'textfield',
> +		name: 'blocksize',
> +		emptyText: '8k',
> +		fieldLabel: gettext('Block Size'),
> +		allowBlank: true
>  	    }
>  	];
>  
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> 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