tools/readahead compatible with kernel version >= 5.10 (#3507)
authorzcy <zcy.chenyue.zhou@gmail.com>
Fri, 25 Jun 2021 02:16:53 +0000 (10:16 +0800)
committerGitHub <noreply@github.com>
Fri, 25 Jun 2021 02:16:53 +0000 (19:16 -0700)
commit97c20767923db7ea8c1ec6e07b2297b00992af03
tree4f6e749fd7552c729d116c59e2cb6606ca7d83e8
parentdcef7bcdf3feddcc5eb012d55223bc796993bc2a
tools/readahead compatible with kernel version >= 5.10 (#3507)

After kernel version 5.10, __do_page_cache_readahead() was renamed to do_page_cache_ra(),
let us try both in readahead.py.
tools/readahead.py
tools/readahead_example.txt