support DISCARD command for virtio-blk
conghuic23 opened this issue · 2 comments
conghuic23 commented
Support DISCARD command is meaningful when eMMC usage is high or there are lots of remove operations. For example, when Guest Android is running, there will be lots of files being created and removed. However, virtio-blk does not support DISCARD command, data remove operation in UOS will not trigger erase in eMMC. After period of time, the eMMC will be consumed out, and erase must be done by eMMC firmware before writing any new data. This causes the eMMC performance decrease in the whole system (SOS and UOS).
mwang106 commented
[External_System_ID] ACRN-2214
conghuic23 commented
move to acrn-hypervisor