aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorGu Jinxiang <[email protected]>2018-04-27 16:22:07 +0800
committerDavid Sterba <[email protected]>2018-05-28 18:07:28 +0200
commit0338dff6e0d91af053ef5d350d7388df666ae78e (patch)
tree6c25dba30676482bac12647e1cca2060604f199a /tools/perf/scripts/python/netdev-times.py
parent4ed0a7a3b7c3f8387caf2ad57424d9341f523856 (diff)
btrfs: do reverse path readahead in btrfs_shrink_device
In btrfs_shrink_device, before btrfs_search_slot, path->reada is set to READA_FORWARD. But I think READA_BACK is correct. Since: 1. key.offset is set to (u64)-1 2. after btrfs_search_slot, btrfs_previous_item is called So, for readahead previous items, READA_BACK is the correct one. Signed-off-by: Gu Jinxiang <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions