]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Remove 'running from the wrong CPU' warning
authorDaniel Wagner <dwagner@suse.de>
Mon, 30 Nov 2020 10:19:21 +0000 (11:19 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 16 Dec 2020 21:55:25 +0000 (14:55 -0700)
commitdb68c2bae241746e7fd79177431024dca23433b6
tree3fab7bf8fbd54271236438fc5e32ccfbfdafd754
parent9c3b4b7c623c053881f7048873ea89333c5a7384
blk-mq: Remove 'running from the wrong CPU' warning

It's guaranteed that no request is in flight when a hctx is going
offline. This warning is only triggered when the wq's CPU is hot
plugged and the blk-mq is not synced up yet.

As this state is temporary and the request is still processed
correctly, better remove the warning as this is the fast path.

Suggested-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c