qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Trying to get fstrim / discard=unmap to work


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] Trying to get fstrim / discard=unmap to work
Date: Mon, 10 Mar 2014 17:15:50 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Mon, Mar 10, 2014 at 05:57:01PM +0100, Paolo Bonzini wrote:
> Il 10/03/2014 17:14, Richard W.M. Jones ha scritto:
> >On Mon, Mar 10, 2014 at 04:11:20PM +0000, Richard W.M. Jones wrote:
> >>Guest:
> >> - guest kernel: 3.13.4-200.fc20.x86_64
> >> - ext4 guest filesystem
> >> - fstrim from util-linux 2.24.1
> >> - cat /sys/block/sda/device/scsi_disk/*/provisioning_mode
> >>   unmap
> >
> >I noticed that I wasn't mounting the guest filesystem with '-o discard'.
> >However it still doesn't work even after adding this option.
> 
> Works here:

Indeed.  And now it works here too.  Very strange, and sorry for
the noise.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top



reply via email to

[Prev in Thread] Current Thread [Next in Thread]