commit | 8137a7e43a8064667b66b824f222247aea6eb2b4 | [log] [tgz] |
---|---|---|
author | Adrien Schildknecht <adrien+dev@schischi.me> | Fri Oct 14 21:03:54 2016 -0700 |
committer | Daniel Rosenberg <drosen@google.com> | Wed Jan 10 13:41:16 2018 -0800 |
tree | 8c4db41f5126a81c461efb6aa8d7a0b1f62083c9 | |
parent | 34deec295684f65b69a1453a43613b08007ef4a0 [diff] |
ANDROID: Squashfs: implement .readpages() Squashfs does not implement .readpages(), so the kernel just repeatedly calls .readpage(). The readpages function tries to pack as much pages as possible in the same page actor so that only 1 read request is issued. Now that the read requests are asynchronous, the kernel can truly prefetch pages using its readahead algorithm. Change-Id: I65b9aa2ddc9444aaf9ccf60781172ccca0f3f518 Signed-off-by: Adrien Schildknecht <adriens@google.com>