projectacrn/acrn-kernel

support DISCARD command for virtio-blk

conghuic23 opened this issue · 2 comments

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).

[External_System_ID] ACRN-2214

move to acrn-hypervisor