Re: [Qemu-devel] fstrim and cache=none

2013-06-26 Thread Dusty Mabe
On Wed, Jun 12, 2013 at 8:49 AM, Paolo Bonzini wrote: > Il 11/06/2013 19:18, Dusty Mabe ha scritto: >> On Tue, Jun 4, 2013 at 8:01 AM, Dusty Mabe wrote: >> Did you manage to find anything? > > No, I was (and am :)) on vacation. > Paolo, Hope you are enjoying you

Re: [Qemu-devel] fstrim and cache=none

2013-06-11 Thread Dusty Mabe
On Tue, Jun 4, 2013 at 8:01 AM, Dusty Mabe wrote: > On Tue, Jun 4, 2013 at 2:53 AM, Paolo Bonzini wrote: >> >> Please attach the QEMU command line too. I'll try to reproduce. >> > > The command line is below (sorry it's so large). A little context: sda &

Re: [Qemu-devel] fstrim and cache=none

2013-06-04 Thread Dusty Mabe
On Tue, Jun 4, 2013 at 2:53 AM, Paolo Bonzini wrote: > > Please attach the QEMU command line too. I'll try to reproduce. > The command line is below (sorry it's so large). A little context: sda is a raw disk image backed by a file, while sdb is backed by a thin logical volume in the host. /usr/

Re: [Qemu-devel] fstrim and cache=none

2013-06-03 Thread Dusty Mabe
On Mon, Jun 3, 2013 at 5:39 PM, Dusty Mabe wrote: > > It is possible that I was mistaken. Now when I switch back to > cache=none I am still able to execute trim operations. I'll > investigate a little more into my exact steps that I took and see if I > can come up with a repr

Re: [Qemu-devel] fstrim and cache=none

2013-06-03 Thread Dusty Mabe
Paolo, It is possible that I was mistaken. Now when I switch back to cache=none I am still able to execute trim operations. I'll investigate a little more into my exact steps that I took and see if I can come up with a reproducer for the issue I observed. Thanks, Dusty

[Qemu-devel] fstrim and cache=none

2013-06-02 Thread Dusty Mabe
Hi, Is it valid to have cache=none and discard=unmap together? I notice that when I have cache=none the fstrim operations inside of my guests gives me an error and i get this from the sys filesystem: [root@guest ~]# cat /sys/block/sdb/queue/discard* 4096 0 0 This wasn't very obvious to me to be