]> git.baikalelectronics.ru Git - kernel.git/commit
block: split bio_queue_enter from blk_queue_enter
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Sep 2021 07:12:39 +0000 (09:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 Oct 2021 03:02:47 +0000 (21:02 -0600)
commitd63e059554ca2839b0e4ed487b6f72e90d9f4f6b
tree5cf8803796ba5519add7a1ce416c415dedc16cad
parent92f8178ca0902e9892f9d3a5b5db38324b56a52e
block: split bio_queue_enter from blk_queue_enter

To prepare for fixing a gendisk shutdown race, open code the
blk_queue_enter logic in bio_queue_enter.  This also removes the
pointless flags translation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/20210929071241.934472-4-hch@lst.de
Tested-by: Yi Zhang <yi.zhang@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c