]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: factor out a "classic" poll helper
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:16 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commita4d7b9947822c2c22c2cc5b04e49b7624f2d2ca1
treeec2591e0ded36d31cebb95d6c9672c4d3d6fc75a
parenta7fcc7d2ed80de9c6e607c1c019d53300e114e0b
blk-mq: factor out a "classic" poll helper

Factor the code to do the classic full metal polling out of blk_poll into
a separate blk_mq_poll_classic helper.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c