diff options
author | Naohiro Aota <[email protected]> | 2019-06-06 16:54:44 +0900 |
---|---|---|
committer | David Sterba <[email protected]> | 2019-06-14 17:33:46 +0200 |
commit | c4e0540d0ad49c8ceab06cceed1de27c4fe29f6e (patch) | |
tree | 8bf74f88f9e626c508832e3977c6d3c9269948cf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8eaf40c0e24e98899a0f3ac9d25a33aafe13822a (diff) |
btrfs: start readahead also in seed devices
Currently, btrfs does not consult seed devices to start readahead. As a
result, if readahead zone is added to the seed devices, btrfs_reada_wait()
indefinitely wait for the reada_ctl to finish.
You can reproduce the hung by modifying btrfs/163 to have larger initial
file size (e.g. xfs_io pwrite 4M instead of current 256K).
Fixes: 7414a03fbf9e ("btrfs: initial readahead code and prototypes")
Cc: [email protected] # 3.2+: ce7791ffee1e: Btrfs: fix race between readahead and device replace/removal
Cc: [email protected] # 3.2+
Reviewed-by: Filipe Manana <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions