Re: Make discard='unmap' the default?

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

 



On Fri, Jun 01, 2018 at 07:54:32AM -0500, Ian Pilcher wrote:
> On 06/01/2018 05:19 AM, Daniel P. Berrangé wrote:
> > On Thu, May 31, 2018 at 02:34:15PM -0500, Ian Pilcher wrote:
> > > Is it possible to make discard='unmap' the default for virtio-scsi
> > > disks?  (Related, is it possible to make virtio-scsi the default disk
> > > type, rather than virtio-blk?)
> > 
> > This is really a question for whatever management tool you're using
> > with libvirt, since it is essentially defining an opinionated usage policy.
> 
> I'm using virt-manager.  I was under the impression that it gets its
> "hypervisor default" device types from libvirt.

Yes, it inherits some defaults to libvirt and/or QEMU. If those are not
suitable for some reason, then virt-manager needs to override it. The
decision about whether to enable discard or not is a policy decision
that doesn't have a single perfect answer. So changing it in libvirt
might make it better for you, but worse for someone else. Libvirt does
not want to get into such debates, so leaves such decisions for the app
above to make, where there may well be more global context/knowledge
allowing a better choice.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux