diff options
| author | Ming Lei <[email protected]> | 2018-06-02 07:18:09 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2018-06-03 02:35:00 +0000 |
| commit | 32a50fabb334b2f0725de84bf248bd8c24c22b05 (patch) | |
| tree | 89553605d21f60fb213d20b5137bb19169bc333f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | block: don't use blocking queue entered for recursive bio submits (diff) | |
| download | kernel-32a50fabb334b2f0725de84bf248bd8c24c22b05.tar.gz kernel-32a50fabb334b2f0725de84bf248bd8c24c22b05.zip | |
blk-mq: update nr_requests when switching to 'none' scheduler
Now we setup q->nr_requests when switching to one new scheduler,
but not do it for 'none', then q->nr_requests may not be correct
for 'none'.
This patch fixes this issue by always updating 'nr_requests' when
switching to 'none'.
Cc: Marco Patalano <[email protected]>
Cc: "Ewan D. Milne" <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
