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

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Jan 2 14:48:20 CET 2017


Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
Note: 8k is the implicit default in ZFS, maybe there is a better way to handle
this on the GUI?

 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..b9f1567 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',
+		value: '8k',
+		fieldLabel: gettext('Block Size'),
+		allowBlank: true
 	    }
 	];
 
-- 
2.1.4





More information about the pve-devel mailing list