]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't protect generic_make_request_checks with blk_queue_enter
authorMing Lei <ming.lei@redhat.com>
Wed, 15 May 2019 03:03:09 +0000 (11:03 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 29 May 2019 12:09:11 +0000 (06:09 -0600)
commit804d37792c321a6ec511809cb457c287d840359d
treef53cbb822e31bf08820624a2269a4f43a25c0b35
parent6e324616f262e520273a241d567d996ef23270e2
block: don't protect generic_make_request_checks with blk_queue_enter

Now 981154fab999 ("block: Fix a race between request queue removal and
the block cgroup controller") has been reverted, and blkcg_exit_queue()
won't be called in blk_cleanup_queue() any more.

So don't need to protect generic_make_request_checks() with
blk_queue_enter(), then the total mess can be cleaned.

e0d608076667 ("blk-mq: Avoid that submitting a bio concurrently with device
removal triggers a crash") is reverted.

Cc: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c