diff options
author | Martijn Coenen <[email protected]> | 2020-03-10 14:12:30 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-03-10 14:10:41 -0600 |
commit | 7e81f99afd91c937f0e66dc135e26c1c4f78b003 (patch) | |
tree | 4a2cf8b54c31648cc9d53190641bc6ac04d49add /tools/perf/scripts/python | |
parent | 596444e7570587867924c3ab025183b1a8726897 (diff) |
loop: Only change blocksize when needed.
Return early in loop_set_block_size() if the requested block size is
identical to the one we already have; this avoids expensive calls to
freeze the block queue.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martijn Coenen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions