Re: [PATCH v2 3/3] squashfs: implement readahead

From: Hsin-Yi Wang
Date: Thu May 19 2022 - 03:56:41 EST


On Tue, May 17, 2022 at 5:17 PM Xiongwei Song <sxwjean@xxxxxxxxx> wrote:
>
> On Tue, May 17, 2022 at 4:28 PM Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx> wrote:
> >
> > 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 or not enough in a
> > datablock.
> > Otherwise pages will be marked as uptodate. The unhandled pages will be
> > updated by readpage later.
> >
> > Suggested-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> > Signed-off-by: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
> > Reported-by: Matthew Wilcox <willy@xxxxxxxxxxxxx>
> > Reported-by: Phillip Lougher <phillip@xxxxxxxxxxxxxxx>
> > Reported-by: Xiongwei Song <sxwjean@xxxxxxxxx>
>
> "xiongwei.song@xxxxxxxxxxxxx" too.
>
ack.
<snip>