diff options
author | Ming Lei | 2018-06-02 09:18:09 +0200 |
---|---|---|
committer | Jens Axboe | 2018-06-03 04:35:00 +0200 |
commit | 32a50fabb334b2f0725de84bf248bd8c24c22b05 (patch) | |
tree | 89553605d21f60fb213d20b5137bb19169bc333f /drivers/net/ipvlan/ipvlan_main.c | |
parent | block: don't use blocking queue entered for recursive bio submits (diff) | |
download | kernel-qcow2-linux-32a50fabb334b2f0725de84bf248bd8c24c22b05.tar.gz kernel-qcow2-linux-32a50fabb334b2f0725de84bf248bd8c24c22b05.tar.xz kernel-qcow2-linux-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 <mpatalan@redhat.com>
Cc: "Ewan D. Milne" <emilne@redhat.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions