aboutsummaryrefslogtreecommitdiff
path: root/scripts/decodecode
diff options
context:
space:
mode:
authorAdrien Schildknecht <adriens@google.com>2016-11-07 12:19:01 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-11 11:00:20 +0200
commitd5a8d9dadae88f0bc4623dfc724c451b8417885a (patch)
tree6596267b4d1fabfc8553a7da042b520f26855ad1 /scripts/decodecode
parent9ce1af5f55bdc1310e34e0c5653354b2af042201 (diff)
Squashfs: refactor page_actor
This patch essentially does 3 things: 1/ Always use an array of page to store the data instead of a mix of buffers and pages. 2/ It is now possible to have 'holes' in a page actor, i.e. NULL pages in the array. When reading a block (default 128K), squashfs tries to grab all the pages covering this block. If a single page is up-to-date or locked, it falls back to using an intermediate buffer to do the read and then copy the pages in the actor. Allowing holes in the page actor remove the need for this intermediate buffer. 3/ Refactor the wrappers to share code that deals with page actors. Signed-off-by: Adrien Schildknecht <adriens@google.com> Change-Id: I73f736611766962857c423320478af8cfab8df38
Diffstat (limited to 'scripts/decodecode')
0 files changed, 0 insertions, 0 deletions