[LTP] [PATCH] vfs: fix readahead(2) on block devices

Reuben Hawkins reubenhwk@gmail.com
Fri Sep 22 22:29:01 CEST 2023


On Fri, Sep 22, 2023 at 4:09 AM Cyril Hrubis <chrubis@suse.cz> wrote:

> Hi!
> > ack.  Will try to test.  My Ubuntu 22.04 system wasn't able to find
> > packages called
> > for by the test case, so it'll take me a little while to figure out how
> to
> > get the
> > test case working...
>
> Huh? The test is a simple C binary you shouldn't need anything more
> than:
>
> $ git clone https://github.com/linux-test-project/ltp.git
> $ cd ltp
> $ make autotools
> $ ./configure
>
> $ cd testcases/kernel/syscalls/readahead
> $ make
> $ ./readahead01
>
> And this is well described in the readme at:
>
> https://github.com/linux-test-project/ltp/
>
> And the packages required for the compilation are make, C compiler and
> autotools nothing extraordinary.
>
> Awesome.  That was simpler than whatever it was I was trying.  I've
reproduced the failed test and will try a few variations on the patch.
Thanks!

> --
> Cyril Hrubis
> chrubis@suse.cz
>


More information about the ltp mailing list