diff options
author | 2016-01-14 18:39:00 +0800 | |
---|---|---|
committer | 2016-02-18 10:27:23 +0100 | |
commit | 7aff8cf4a6d6190e64386f407a7f5cc5f24c60d2 (patch) | |
tree | 9175c4bc56b6af11db51e1db2e9c6582af4e05a6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | btrfs: reada: avoid undone reada extents in btrfs_reada_wait (diff) | |
download | wireguard-linux-7aff8cf4a6d6190e64386f407a7f5cc5f24c60d2.tar.xz wireguard-linux-7aff8cf4a6d6190e64386f407a7f5cc5f24c60d2.zip |
btrfs: reada: ignore creating reada_extent for a non-existent device
For a non-existent device, old code bypasses adding it in dev's reada
queue.
And to solve problem of unfinished waitting in raid5/6,
commit 5fbc7c59fd22 ("Btrfs: fix unfinished readahead thread for
raid5/6 degraded mounting")
adding an exception for the first stripe, in short, the first
stripe will always be processed whether the device exists or not.
Actually we have a better way for the above request: just bypass
creation of the reada_extent for non-existent device, it will make
code simple and effective.
Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions