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. Signed-off-by:Adrien Schildknecht <adriens@google.com> Signed-off-by:
Daniel Rosenberg <drosen@google.com> Change-Id: I6a09d6040717c9ac6c99728bd420a16aa9dcce40
Loading
Please register or sign in to comment