Put update_engine to blkio background group
To lower the IO priority of update_engine. It only works on
devices that support blkio cgroup.
Bug: 140151970
Test: update_engine put to blkio background group correctly
Change-Id: I8b688c7625c64366b066603996572413ba6451ee
diff --git a/update_engine.rc b/update_engine.rc
index 90ca4c6..b9f80fc 100644
--- a/update_engine.rc
+++ b/update_engine.rc
@@ -2,7 +2,7 @@
class late_start
user root
group root system wakelock inet cache media_rw
- writepid /dev/cpuset/system-background/tasks
+ writepid /dev/cpuset/system-background/tasks /dev/blkio/background/tasks
disabled
on property:ro.boot.slot_suffix=*