summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-10-23 16:37:23 +0300
committerCarlos Maiolino <cem@kernel.org>2024-10-30 13:27:18 +0300
commit81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4 (patch)
tree239ac6892f198ca198ad7bcec7291a0317cee020 /tools/perf/scripts/python/parallel-perf.py
parentdc60992ce76fbc2f71c2674f435ff6bde2108028 (diff)
downloadlinux-81a1e1c32ef474c20ccb9f730afe1ac25b1c62a4.tar.xz
xfs: streamline xfs_filestream_pick_ag
Directly return the error from xfs_bmap_longest_free_extent instead of breaking from the loop and handling it there, and use a done label to directly jump to the exist when we found a suitable perag structure to reduce the indentation level and pag/max_pag check complexity in the tail of the function. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions