aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorHsin-Yi Wang <[email protected]>2022-06-17 08:38:13 +0000
committerakpm <[email protected]>2022-07-30 01:12:34 +0000
commit8fc78b6fe24c36b151ac98d7546591ed92083d4f (patch)
tree76c29ca47f54977207b0dbe0301b5c9cd017038f /fs/proc/array.c
parentsquashfs: always build "file direct" version of page actor (diff)
downloadkernel-8fc78b6fe24c36b151ac98d7546591ed92083d4f.tar.gz
kernel-8fc78b6fe24c36b151ac98d7546591ed92083d4f.zip
squashfs: implement readahead
Implement readahead callback for squashfs. It will read datablocks which cover pages in readahead request. For a few cases it will not mark page as uptodate, including: - file end is 0. - zero filled blocks. - current batch of pages isn't in the same datablock. - decompressor error. Otherwise pages will be marked as uptodate. The unhandled pages will be updated by readpage later. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Hsin-Yi Wang <[email protected]> Suggested-by: Matthew Wilcox <[email protected]> Reported-by: Matthew Wilcox <[email protected]> Reported-by: Phillip Lougher <[email protected]> Reported-by: Xiongwei Song <[email protected]> Reported-by: Andrew Morton <[email protected]> Cc: Hou Tao <[email protected]> Cc: kernel test robot <[email protected]> Cc: Marek Szyprowski <[email protected]> Cc: Miao Xie <[email protected]> Cc: Zhang Yi <[email protected]> Cc: Zheng Liang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions