davinci: rootdir: init.qcom.rc: limit discard size to 128MB
This change limits discard size for UFS(sda) to 128MB in order to avoid long IO latency. Change-Id: Iccf6f7561abaac13bc8c35b03f696cdf56c184ee
This commit is contained in:
parent
c97c7e6a6f
commit
030be3a5f8
@ -117,6 +117,9 @@ on boot
|
||||
# Create hvdcp_opti directory
|
||||
mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system
|
||||
|
||||
# limit discard size to 128MB in order to avoid long IO latency
|
||||
write /sys/block/sda/queue/discard_max_bytes 134217728
|
||||
|
||||
# Enable qcrild and data services
|
||||
enable vendor.qcrild
|
||||
enable vendor.qcrild2
|
||||
|
Loading…
Reference in New Issue
Block a user