diff options
| author | Bart Van Assche <[email protected]> | 2021-09-27 15:03:25 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-10-18 06:17:02 -0600 |
| commit | e2c7275dc0fe3cba6a3de5a5f4c98f923e3d9d14 (patch) | |
| tree | a1e775a7dbdfe1b11947fbb8cf8029c8d1495a56 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 24b83deb29b7f06a5573b65f2ce96f5482755d43 (diff) | |
block/mq-deadline: Improve request accounting further
The scheduler .insert_requests() callback is called when a request is
queued for the first time and also when it is requeued. Only count a
request the first time it is queued. Additionally, since the mq-deadline
scheduler only performs zone locking for requests that have been
inserted, skip the zone unlock code for requests that have not been
inserted into the mq-deadline scheduler.
Fixes: 38ba64d12d4c ("block/mq-deadline: Track I/O statistics")
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions