diff options
| author | Filipe David Borba Manana <[email protected]> | 2013-07-30 12:03:04 +0100 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2013-09-01 08:04:43 -0400 |
| commit | 395927a9d8e64af518c2ccdbfbbdf9184b558315 (patch) | |
| tree | a42f503f5b3258b42069fa917db6aedb3def97a9 /tools/perf/scripts/python | |
| parent | 6596a9281995a3c7dee8ca6666bd169fffc928e1 (diff) | |
Btrfs: optimize function btrfs_read_chunk_tree
After reading all device items from the chunk tree, don't
exit the loop and then navigate down the tree again to find
the chunk items. Instead just read all device items and
chunk items with a single tree search. This is possible
because all device items are found before any chunk item in
the chunks tree.
Signed-off-by: Filipe David Borba Manana <[email protected]>
Reviewed-by: Miao Xie <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions