]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: handle the single queue case in blk_mq_hctx_next_cpu
authorChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 08:27:23 +0000 (09:27 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 15:02:07 +0000 (08:02 -0700)
commitbb68665ef8dc5bf4cb27bf5c7eacf9a60bfc49ab
tree89027f22274a6f9a4075fcd5736f9a41664efbd3
parentacdbfa728be312876c06f4836c9679b66448927d
blk-mq: handle the single queue case in blk_mq_hctx_next_cpu

Don't duplicate the code to handle the not cpu bounce case in the
caller, do it inside blk_mq_hctx_next_cpu instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c