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:
Sayali Lokhande 2020-03-31 23:37:20 +05:30 committed by Arian
parent c97c7e6a6f
commit 030be3a5f8
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -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