public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH qemu-server] improve description of fstrim_cloned_disks
@ 2020-12-15 15:22 Aaron Lauterer
  2020-12-15 15:22 ` [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox Aaron Lauterer
  2020-12-18 16:55 ` [pve-devel] applied: Re: [PATCH qemu-server] improve description of fstrim_cloned_disks Thomas Lamprecht
  0 siblings, 2 replies; 6+ messages in thread
From: Aaron Lauterer @ 2020-12-15 15:22 UTC (permalink / raw)
  To: pve-devel

The phrasing left some room for speculation when this would be triggered.
E.g. after cloning a full VM?

Currently the only instances where it is used is when a disk is moved or
a VM migrated.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---

 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 70c14ba..e3f9551 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -156,7 +156,7 @@ my $agent_fmt = {
 	default_key => 1,
     },
     fstrim_cloned_disks => {
-	description => "Run fstrim after cloning/moving a disk.",
+	description => "Run fstrim after moving a disk or migrating the VM.",
 	type => 'boolean',
 	optional => 1,
 	default => 0
-- 
2.20.1





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox
  2020-12-15 15:22 [pve-devel] [PATCH qemu-server] improve description of fstrim_cloned_disks Aaron Lauterer
@ 2020-12-15 15:22 ` Aaron Lauterer
  2020-12-16  7:20   ` Thomas Lamprecht
  2020-12-18 16:55   ` [pve-devel] applied: " Thomas Lamprecht
  2020-12-18 16:55 ` [pve-devel] applied: Re: [PATCH qemu-server] improve description of fstrim_cloned_disks Thomas Lamprecht
  1 sibling, 2 replies; 6+ messages in thread
From: Aaron Lauterer @ 2020-12-15 15:22 UTC (permalink / raw)
  To: pve-devel

The phrasing left some room to speculation when this would actually be
run, e.g. after cloning a full VM?

Currently the only instances where it is used is after moving a disk or
migrating a VM.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
 www/manager6/form/AgentFeatureSelector.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/form/AgentFeatureSelector.js b/www/manager6/form/AgentFeatureSelector.js
index 122c8713..6c21306f 100644
--- a/www/manager6/form/AgentFeatureSelector.js
+++ b/www/manager6/form/AgentFeatureSelector.js
@@ -14,7 +14,7 @@ Ext.define('PVE.form.AgentFeatureSelector', {
 	},
 	{
 	    xtype: 'proxmoxcheckbox',
-	    boxLabel: gettext('Run guest-trim after clone disk'),
+	    boxLabel: gettext('Run guest-trim after a disk move or VM migration'),
 	    name: 'fstrim_cloned_disks',
 	    bind: {
 		disabled: '{!enabled.checked}',
-- 
2.20.1





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox
  2020-12-15 15:22 ` [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox Aaron Lauterer
@ 2020-12-16  7:20   ` Thomas Lamprecht
  2020-12-16 10:27     ` Aaron Lauterer
  2020-12-18 16:55   ` [pve-devel] applied: " Thomas Lamprecht
  1 sibling, 1 reply; 6+ messages in thread
From: Thomas Lamprecht @ 2020-12-16  7:20 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

On 15.12.20 16:22, Aaron Lauterer wrote:
> The phrasing left some room to speculation when this would actually be
> run, e.g. after cloning a full VM?

Adding/Expanding a QGA pve-docs section with that info in detail and adding
a onlineHelp button here would be also great, allows to explain it in full
detail without the need for shorter abbreviated sentences.

> 
> Currently the only instances where it is used is after moving a disk or
> migrating a VM.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
>  www/manager6/form/AgentFeatureSelector.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/www/manager6/form/AgentFeatureSelector.js b/www/manager6/form/AgentFeatureSelector.js
> index 122c8713..6c21306f 100644
> --- a/www/manager6/form/AgentFeatureSelector.js
> +++ b/www/manager6/form/AgentFeatureSelector.js
> @@ -14,7 +14,7 @@ Ext.define('PVE.form.AgentFeatureSelector', {
>  	},
>  	{
>  	    xtype: 'proxmoxcheckbox',
> -	    boxLabel: gettext('Run guest-trim after clone disk'),
> +	    boxLabel: gettext('Run guest-trim after a disk move or VM migration'),
>  	    name: 'fstrim_cloned_disks',
>  	    bind: {
>  		disabled: '{!enabled.checked}',
> 





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox
  2020-12-16  7:20   ` Thomas Lamprecht
@ 2020-12-16 10:27     ` Aaron Lauterer
  0 siblings, 0 replies; 6+ messages in thread
From: Aaron Lauterer @ 2020-12-16 10:27 UTC (permalink / raw)
  To: Thomas Lamprecht, Proxmox VE development discussion



On 12/16/20 8:20 AM, Thomas Lamprecht wrote:
> On 15.12.20 16:22, Aaron Lauterer wrote:
>> The phrasing left some room to speculation when this would actually be
>> run, e.g. after cloning a full VM?
> 
> Adding/Expanding a QGA pve-docs section with that info in detail and adding
> a onlineHelp button here would be also great, allows to explain it in full
> detail without the need for shorter abbreviated sentences.

Good idea. I can send another patch with that but I argue that we should still use these patches here because let's be honest, a lot of people don't click on the help button but interpret what they see right away ;)

> 
>>
>> Currently the only instances where it is used is after moving a disk or
>> migrating a VM.
>>
>> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
>> ---
>>   www/manager6/form/AgentFeatureSelector.js | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/www/manager6/form/AgentFeatureSelector.js b/www/manager6/form/AgentFeatureSelector.js
>> index 122c8713..6c21306f 100644
>> --- a/www/manager6/form/AgentFeatureSelector.js
>> +++ b/www/manager6/form/AgentFeatureSelector.js
>> @@ -14,7 +14,7 @@ Ext.define('PVE.form.AgentFeatureSelector', {
>>   	},
>>   	{
>>   	    xtype: 'proxmoxcheckbox',
>> -	    boxLabel: gettext('Run guest-trim after clone disk'),
>> +	    boxLabel: gettext('Run guest-trim after a disk move or VM migration'),
>>   	    name: 'fstrim_cloned_disks',
>>   	    bind: {
>>   		disabled: '{!enabled.checked}',
>>
> 




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [pve-devel] applied: Re: [PATCH qemu-server] improve description of fstrim_cloned_disks
  2020-12-15 15:22 [pve-devel] [PATCH qemu-server] improve description of fstrim_cloned_disks Aaron Lauterer
  2020-12-15 15:22 ` [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox Aaron Lauterer
@ 2020-12-18 16:55 ` Thomas Lamprecht
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Lamprecht @ 2020-12-18 16:55 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

On 15/12/2020 16:22, Aaron Lauterer wrote:
> The phrasing left some room for speculation when this would be triggered.
> E.g. after cloning a full VM?
> 
> Currently the only instances where it is used is when a disk is moved or
> a VM migrated.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> 
>  PVE/QemuServer.pm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [pve-devel] applied: Re: [PATCH manager] ui: improve description of guest-fstrim checkbox
  2020-12-15 15:22 ` [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox Aaron Lauterer
  2020-12-16  7:20   ` Thomas Lamprecht
@ 2020-12-18 16:55   ` Thomas Lamprecht
  1 sibling, 0 replies; 6+ messages in thread
From: Thomas Lamprecht @ 2020-12-18 16:55 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

On 15/12/2020 16:22, Aaron Lauterer wrote:
> The phrasing left some room to speculation when this would actually be
> run, e.g. after cloning a full VM?
> 
> Currently the only instances where it is used is after moving a disk or
> migrating a VM.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
>  www/manager6/form/AgentFeatureSelector.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
>

applied, thanks!




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-18 16:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 15:22 [pve-devel] [PATCH qemu-server] improve description of fstrim_cloned_disks Aaron Lauterer
2020-12-15 15:22 ` [pve-devel] [PATCH manager] ui: improve description of guest-fstrim checkbox Aaron Lauterer
2020-12-16  7:20   ` Thomas Lamprecht
2020-12-16 10:27     ` Aaron Lauterer
2020-12-18 16:55   ` [pve-devel] applied: " Thomas Lamprecht
2020-12-18 16:55 ` [pve-devel] applied: Re: [PATCH qemu-server] improve description of fstrim_cloned_disks Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal