]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: add basic round-robin of what CPU to queue workqueue work on
authorJens Axboe <axboe@fb.com>
Wed, 7 May 2014 16:26:44 +0000 (10:26 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 7 May 2014 16:26:44 +0000 (10:26 -0600)
commit771fa82628eb7542071b84f9aa2c6ade37f5ea67
tree8c0fdc0c0c4186f927246b5164396da446fbc8e5
parentf55012bdbb0b5545f10d05f8fb6d2c34ed7790a1
blk-mq: add basic round-robin of what CPU to queue workqueue work on

Right now we just pick the first CPU in the mask, but that can
easily overload that one. Add some basic batching and round-robin
all the entries in the mask instead.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c
include/linux/blk-mq.h