By default discard/trim requests are disabled for libvirt. This
patch enables them by default although in order to actually use
them, instances still need be using scsi disk devices. Also this
patch only permits Nova storage (e.g. instance root disk) to use
discard. For Cinder volumes this must be enabled in Cinder.
Reviewed: https:/ /review. openstack. org/582134 /git.openstack. org/cgit/ openstack/ charm-nova- compute/ commit/ ?id=2f9bbed3a9a 3b1a541124f484a e324a809262fb5
Committed: https:/
Submitter: Zuul
Branch: master
commit 2f9bbed3a9a3b1a 541124f484ae324 a809262fb5
Author: Edward Hope-Morley <email address hidden>
Date: Thu Jul 12 11:27:22 2018 +0100
Enable discard
By default discard/trim requests are disabled for libvirt. This
patch enables them by default although in order to actually use
them, instances still need be using scsi disk devices. Also this
patch only permits Nova storage (e.g. instance root disk) to use
discard. For Cinder volumes this must be enabled in Cinder.
Change-Id: Iceb22fe5206629 bc7b4096f518b89 77c2e14def3
Closes-Bug: #1781382