diff options
author | Christoph Hellwig <[email protected]> | 2024-02-13 08:34:15 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-02-13 08:56:59 -0700 |
commit | 0327ca9d53bfbb0918867313049bba7046900f73 (patch) | |
tree | 54284e4f975717a9d44640759c04f728a8e238a5 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | d690cb8ae14bd377d422b7905b6959c7e7a45b95 (diff) |
block: use queue_limits_commit_update in queue_max_sectors_store
Convert queue_max_sectors_store to use queue_limits_commit_update to
check and update the max_sectors limit and freeze the queue before
doing so to ensure we don't have requests in flight while changing
the limits.
Note that this removes the previously held queue_lock that doesn't
protect against any other reader or writer.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: John Garry <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions