]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
mq-deadline: make it clear that __dd_dispatch_request() works on all hw queues
authorJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:23:11 +0000 (09:23 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 6 Jan 2018 16:23:11 +0000 (09:23 -0700)
commitca11f209a4c88743fb4b652fd812470e6fecc598
treebfca0db75895b6582233d5a540b62a586d7709bc
parent14db49172649aac001fd77a3fd53d12c6df22daf
mq-deadline: make it clear that __dd_dispatch_request() works on all hw queues

Don't pass in the hardware queue to __dd_dispatch_request(), since it
leads the reader to believe that we are returning a request for that
specific hardware queue. That's not how mq-deadline works, the state
for determining which request to serve next is shared across all
hardware queues for a device.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c