Skip to content

Virtio-blk support fstrim #9299

@havengit

Description

@havengit
ISSUE TYPE
  • Improvement Request
COMPONENT NAME
UI 
CLOUDSTACK VERSION
4.15
4.18
CONFIGURATION

Cloudstack KVM ceph

OS / ENVIRONMENT

ubuntu20.04
ubuntu22.04

SUMMARY

I have test the virtio-blk has supported fstrim. But in cloudstack only the root controller set to scsi(virtio-scsi), the disk discard mode is unmap. if not , will be Hypervisor default.

https://chrisirwin.ca/posts/discard-with-kvm-2020/

STEPS TO REPRODUCE

EXPECTED RESULTS
Whether can add a parameter in vm setting allow users to customize 
Or there are other ways to do it now, using virtio-blk and using unmap for discard mode ?
ACTUAL RESULTS

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions