diff options
author | 2011-06-10 13:55:54 +0200 | |
---|---|---|
committer | 2011-10-02 08:48:44 +0200 | |
commit | 4bb31e928d1a47f5bd046ecb176b8eff7c589fc0 (patch) | |
tree | 61693e91f7a179b75cc43f5bcb504d50a342ecb7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: initial readahead code and prototypes (diff) | |
download | linux-dev-4bb31e928d1a47f5bd046ecb176b8eff7c589fc0.tar.xz linux-dev-4bb31e928d1a47f5bd046ecb176b8eff7c589fc0.zip |
btrfs: hooks for readahead
This adds the hooks needed for readahead. In the readpage_end_io_hook,
the extent state is checked for the EXTENT_READAHEAD flag. Only in this
case the readahead hook is called, to keep the impact on non-ra as low
as possible.
Additionally, a hook for a failed IO is added, otherwise readahead would
wait indefinitely for the extent to finish.
Changes for v2:
- eliminate race condition
Signed-off-by: Arne Jansen <sensille@gmx.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions