Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-07-04 Thread Alexandre DERUMIER
re Derumier" Cc: "pve-devel" Envoyé: Mardi 3 Juillet 2018 09:50:05 Objet: Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage I'm answering here instead of the storage patches since I think we should finish the discussion first. On Fri, Jun 2

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-07-03 Thread Wolfgang Bumiller
I'm answering here instead of the storage patches since I think we should finish the discussion first. On Fri, Jun 29, 2018 at 10:27:52AM +0200, Alexandre DERUMIER wrote: > >>IMHO: I would be up for this approach, as a first measure, so the discard > >>granularity can be overwritten. > > I'll re

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-29 Thread Alexandre DERUMIER
river. - Mail original - De: "Alwin Antreich" À: "pve-devel" Envoyé: Vendredi 29 Juin 2018 10:17:56 Objet: Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage On Fri, Jun 29, 2018 at 08:12:13AM +0200, Alexandre DERUMIER wrote: > and fo

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-29 Thread Alwin Antreich
On Fri, Jun 29, 2018 at 08:12:13AM +0200, Alexandre DERUMIER wrote: > and for zfs , we can retrieve block size with: > > zfs get volblocksize rpool/data/vm-105-disk-1 > NAME PROPERTY VALUE SOURCE > rpool/data/vm-105-disk-1 volblocksize 8Kdefault > > > > M

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-28 Thread Alexandre DERUMIER
ntreich" À: "pve-devel" Envoyé: Jeudi 28 Juin 2018 14:56:32 Objet: Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage On Thu, Jun 28, 2018 at 10:08:45AM +0200, Alexandre Derumier wrote: > when we have snapshots on rbd and do a trim, the space i

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-28 Thread Alexandre DERUMIER
uot;Alwin Antreich" À: "pve-devel" Envoyé: Jeudi 28 Juin 2018 14:56:32 Objet: Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage On Thu, Jun 28, 2018 at 10:08:45AM +0200, Alexandre Derumier wrote: > when we have snapshots on rbd and do a trim, th

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-28 Thread Thomas Lamprecht
On 6/28/18 2:56 PM, Alwin Antreich wrote: > On Thu, Jun 28, 2018 at 10:08:45AM +0200, Alexandre Derumier wrote: >> when we have snapshots on rbd and do a trim, the space is increasing >> http://tracker.ceph.com/issues/18352 >> >> we need to trim a full object (4MB by default), to be able to free sp

Re: [pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-28 Thread Alwin Antreich
On Thu, Jun 28, 2018 at 10:08:45AM +0200, Alexandre Derumier wrote: > when we have snapshots on rbd and do a trim, the space is increasing > http://tracker.ceph.com/issues/18352 > > we need to trim a full object (4MB by default), to be able to free space. > > test: > > without discard_granularit

[pve-devel] [PATCH qemu-server] add discard_granularity to 4M for rbd storage

2018-06-28 Thread Alexandre Derumier
when we have snapshots on rbd and do a trim, the space is increasing http://tracker.ceph.com/issues/18352 we need to trim a full object (4MB by default), to be able to free space. test: without discard_granularity --- vm-107-disk-1