summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-22 09:07:02 -0800
committerDavid Sterba <dsterba@suse.com>2023-04-17 18:01:16 +0200
commite2eb02480c5407cc918f2dd90ee856bd2e549465 (patch)
treea38956b540dc1f88cc13adeb08d8f693907bee98 /tools/perf/scripts/python/sched-migration.py
parent65886d2b1fd42cd9e8b0540782078591e8752012 (diff)
btrfs: cleanup the main loop in btrfs_lookup_bio_sums
Introduce a bio_offset variable for the current offset into the bio instead of recalculating it over and over. Remove the now only used once search_len and sector_offset variables, and reduce the scope for count and cur_disk_bytenr. Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions