Re: [pve-devel] [PATCH] added sorter to bridge selection

2012-09-14 Thread Dietmar Maurer
applied, thanks! > -Original Message- > From: pve-devel-boun...@pve.proxmox.com [mailto:pve-devel- > boun...@pve.proxmox.com] On Behalf Of tgrodzinski > Sent: Freitag, 14. September 2012 13:47 > To: pve-devel@pve.proxmox.com > Subject: [pve-devel] [PATCH] added sorter to bridge selection

[pve-devel] [PATCH] first bridge device is selected by default

2012-09-14 Thread tgrodzinski
Signed-off-by: tgrodzinski --- www/manager/form/BridgeSelector.js | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www/manager/form/BridgeSelector.js b/www/manager/form/BridgeSelector.js index cae1d6d..45829b2 100644 --- a/www/manager/form/BridgeSelector.js +++ b/

[pve-devel] [PATCH] first bridge device is selected by default

2012-09-14 Thread tgrodzinski
This patch selects the first bridge device by default. Greetings, Timo ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] [PATCH] added sorter to bridge selection

2012-09-14 Thread tgrodzinski
Signed-off-by: tgrodzinski --- www/manager/form/BridgeSelector.js |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/www/manager/form/BridgeSelector.js b/www/manager/form/BridgeSelector.js index 1cd818f..cae1d6d 100644 --- a/www/manager/form/BridgeSelector.js +++ b/ww

Re: [pve-devel] [PATCH] fixed order of bridge devices

2012-09-14 Thread tgrodzinski
Here is an another try: - without whitespace corrections - the code 'store.sort( 'iface', 'ASC' );' worked for me, so I didnt mind. Actually 'sort' creates a sorter which is applied every time the store is updated. This patch adds the sorter explicitly. Greetings, Timo

Re: [pve-devel] [PATCH] fixed order of bridge devices

2012-09-14 Thread Dietmar Maurer
> var store = Ext.create('Ext.data.Store', { > - fields: [ 'iface', 'active', 'type' ], > - filterOnLoad: true > + fields: [ 'iface', 'active', 'type' ], > + filterOnLoad: true > }); > + store.sort( 'iface', 'ASC' ); Also, seems you call 'sor

Re: [pve-devel] [PATCH] fixed order of bridge devices

2012-09-14 Thread Dietmar Maurer
> var store = Ext.create('Ext.data.Store', { > - fields: [ 'iface', 'active', 'type' ], > - filterOnLoad: true > + fields: [ 'iface', 'active', 'type' ], > + filterOnLoad: true Please can you use the same coding style as the rest of the code? - Dietma

Re: [pve-devel] qcow2 bench and speed optimisations

2012-09-14 Thread Alexandre DERUMIER
http://linux.die.net/man/8/ntfsclone " Sparse Files A file is sparse if it has unallocated blocks (holes). The reported size of such files are always higher than the disk space consumed by them. The du command can tell the real disk space used by a sparse file. The holes are always read as zer

Re: [pve-devel] qcow2 bench and speed optimisations

2012-09-14 Thread Alexandre DERUMIER
xfs : ok http://en.wikipedia.org/wiki/XFS#Sparse_files ext4:ok ext3:ok ext2:ok http://superuser.com/questions/218395/about-file-size-and-disk-usage-in-ext3 zfs: ok so, seem to be working on all main filesystems - Mail original - De: "Dietmar Maurer" À: "Alexandre DERUMIER" Cc:

[pve-devel] [PATCH] fixed order of bridge devices

2012-09-14 Thread tgrodzinski
Signed-off-by: tgrodzinski --- www/manager/form/BridgeSelector.js |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/manager/form/BridgeSelector.js b/www/manager/form/BridgeSelector.js index 1cd818f..6a01577 100644 --- a/www/manager/form/BridgeSelector.js +++ b/www/

[pve-devel] [PATCH] fixed order of bridge devices

2012-09-14 Thread tgrodzinski
Hi list! This patch sorts the bridge devices in the bridge selector panel by their interface name. Greetings, Timo ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] qcow2 bench and speed optimisations

2012-09-14 Thread Dietmar Maurer
> so raw and qcow2 with metadatas alloc are sparse files, but you need a > filesystem which support it. Do you know a filesystem which does not support sparse files? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mail

Re: [pve-devel] Snapshot Tests

2012-09-14 Thread Dietmar Maurer
> Features when can add : snapshot,savevmstate No, ' savevmstate' is not needed (as already explained, we need to fix our qemu patch instead) ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Re: [pve-devel] qcow2 bench and speed optimisations

2012-09-14 Thread Alexandre DERUMIER
more infos: http://balau82.wordpress.com/2011/05/08/qemu-raw-images-real-size/ so raw and qcow2 with metadatas alloc are sparse files, but you need a filesystem which support it. The size of file is full size, but it's empty. So filesystem which handle this can by exemple, create 2 files of 20G