blk-mq: Remove 'running from the wrong CPU' warning for-5.11/block
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 15:47:40 +0000 (08:47 -0700)
commit40a987814e600c935d89f269aa9a70daa8b6ebb9
tree7c85a7db087676b79d6af358e614420896c7571d
parentfa94ba8a7b22890e6a17b39b9359e114fe18cd59
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