klte-common: restorecon I/O scheduler tunables before touching them
* early-init is before the global restorecon of /sys gets run, so we need to set a context on these before changing attributes Change-Id: I493a9bb0c1bd2ea83a815e07169b8b689cf76a5d
This commit is contained in:
parent
06b36697e1
commit
dd67265c98
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ on early-init
|
||||||
chmod 0755 /sys/kernel/debug
|
chmod 0755 /sys/kernel/debug
|
||||||
|
|
||||||
# Increase max readahead size to 512 KB
|
# Increase max readahead size to 512 KB
|
||||||
|
restorecon --recursive /sys/block/mmcblk0/queue
|
||||||
write /sys/block/mmcblk0/queue/read_ahead_kb 512
|
write /sys/block/mmcblk0/queue/read_ahead_kb 512
|
||||||
write /sys/block/mmcblk0/queue/scheduler noop
|
write /sys/block/mmcblk0/queue/scheduler noop
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue