summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2017-08-04 13:22:36 -0700
committerWei Wang <wvw@google.com>2017-08-11 11:24:08 -0700
commit542aae443fbb1ed336368692df949dfe2a6ba62b (patch)
tree5633eb2cba4605766cda9f1434d82481b45b9820 /libcutils/socket_local_server_unix.cpp
parentaf6a262020cc3f85e9c65e38b8dbd6959864cb79 (diff)
init: Add readahead built-in command
Inspired by ag/2659809/, this CL add readahead built-in command in init to let files be prefetched into pagecache for faster reading. Readahead happens in background but due to filesystem limitation it might take small amount of time in it reading the filesystem metadata needed to locate the requested blocks. So the command is executed in a forked process to not block init execution. Bug: 62413151 Test: boottime, dumpcache Change-Id: I56c86e2ebc20efda4aa509e6efb736bd1d92baa5
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions