[dm-devel] [PATCH] dm: fix request-based dm's use of dm_wait_for_completion

Jens Axboe axboe at kernel.dk
Tue Dec 11 14:40:22 UTC 2018


On 12/11/18 7:10 AM, Mike Snitzer wrote:
> The md->wait waitqueue is used by both bio-based and request-based DM.
> Commit dbd3bbd291 ("dm rq: leverage blk_mq_queue_busy() to check for
> outstanding IO") lost sight of the requirement that
> dm_wait_for_completion() must work with all types of DM devices.
> 
> Fix md_in_flight() to call the blk-mq or bio-based method accordingly.

Applied, thanks.

-- 
Jens Axboe




More information about the dm-devel mailing list