diff options
author | Ming Lei <ming.lei@redhat.com> | 2019-09-27 10:24:30 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-27 20:38:28 +0300 |
commit | a12de1d42d74ef3c80e9fb9a2da94daaef747869 (patch) | |
tree | 730e2f9be02fa7087af02e7b9d825dc7a3b2b3b0 /drivers/nvme | |
parent | 8d6996630c03d7ceeabe2611378fea5ca1c3f1b3 (diff) | |
download | linux-a12de1d42d74ef3c80e9fb9a2da94daaef747869.tar.xz |
blk-mq: honor IO scheduler for multiqueue devices
If a device is using multiple queues, the IO scheduler may be bypassed.
This may hurt performance for some slow MQ devices, and it also breaks
zoned devices which depend on mq-deadline for respecting the write order
in one zone.
Don't bypass io scheduler if we have one setup.
This patch can double sequential write performance basically on MQ
scsi_debug when mq-deadline is applied.
Cc: Bart Van Assche <bvanassche@acm.org>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Javier González <javier@javigon.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions