diff options
author | Martijn Coenen <[email protected]> | 2020-03-10 14:06:54 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-03-10 14:10:43 -0600 |
commit | 0fbcf57982346763ec636f176d5afaa367b5f71b (patch) | |
tree | c4afc928ce00778cb884a6625795a949a246d904 /tools/perf/scripts/python | |
parent | 7e81f99afd91c937f0e66dc135e26c1c4f78b003 (diff) |
loop: Only freeze block queue when needed.
__loop_update_dio() can be called as a part of loop_set_fd(), when the
block queue is not yet up and running; avoid freezing the block queue in
that case, since that is an expensive operation.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[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