block: support polling through blk_execute_rq
authorKeith Busch <kbusch@kernel.org>
Thu, 10 Jun 2021 21:44:34 +0000 (14:44 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 21:34:21 +0000 (15:34 -0600)
commitc01b5a814e7b28e327883838bad159194bdd68e8
tree47668dda356db6bc03ddcaad5137a510745f1721
parentda6269da4cfe29f484e8fd27c1496b81b47e2499
block: support polling through blk_execute_rq

Poll for completions if the request's hctx is a polling type.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210610214437.641245-2-kbusch@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-exec.c