summary refs log tree commit diff
path: root/fs/notify
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-09-27 15:24:30 +0800
committerJens Axboe <axboe@kernel.dk>2019-09-27 11:38:28 -0600
commita12de1d42d74ef3c80e9fb9a2da94daaef747869 (patch)
tree730e2f9be02fa7087af02e7b9d825dc7a3b2b3b0 /fs/notify
parent8d6996630c03d7ceeabe2611378fea5ca1c3f1b3 (diff)
downloadlinux-a12de1d42d74ef3c80e9fb9a2da94daaef747869.tar.gz
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 'fs/notify')
0 files changed, 0 insertions, 0 deletions