]> 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)
commit70ce8cec5b1e01a9ed62e97209e104c4961d0420
tree8c0fdc0c0c4186f927246b5164396da446fbc8e5
parent4d475cf93b36460141335c7aa597242baaa0ed6c
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