Browse Source

nitrogen: ensure fsync is enabled on boot

tags/20190731-pie-aosip
Black-Seraph 2 months ago
parent
commit
64a99acab7
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      rootdir/bin/init.qcom.post_boot.sh

+ 3
- 0
rootdir/bin/init.qcom.post_boot.sh View File

@@ -223,6 +223,9 @@ function 8937_sched_dcvs_hmp()
target=`getprop ro.board.platform`

function configure_read_ahead_kb_values() {
# Ensure that fsync is enabled after boot
echo 1 > /sys/module/sync/parameters/fsync_enabled

MemTotalStr=`cat /proc/meminfo | grep MemTotal`
MemTotal=${MemTotalStr:16:8}


Loading…
Cancel
Save