acrn-hypervisor/devicemodel/hw
Conghui Chen 2ddd24e022 dm: storage: support discard command
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 BE 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).
To solve the problem, DISCARD should be supported in virtio-blk BE.

Tracked-On: #2011
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2018-12-18 13:21:07 +08:00
..
pci dm: storage: support discard command 2018-12-18 13:21:07 +08:00
platform dm: hw: Replace strlen with strnlen 2018-12-17 19:17:29 +08:00
block_if.c dm: storage: support discard command 2018-12-18 13:21:07 +08:00
uart_core.c dm: enhence the mevent API 2018-12-07 20:21:33 +08:00
usb_core.c DM USB: add usb_dev_path_cmp function for convenience 2018-12-14 19:40:44 +08:00