[dm-devel] [PATCH 8/9] dm: Fix two race conditions related to stopping and starting queues

Bart Van Assche bart.vanassche at sandisk.com
Thu Sep 1 20:52:36 UTC 2016


On 09/01/2016 01:48 PM, Mike Snitzer wrote:
> Yeah, I since fixed that.  Doesn't change the fact that your use of
> blk_mq_freeze_queue() causes the 100% cpu usage.

Hello Mike,

Sorry but that doesn't make sense to me. blk_mq_freeze_queue() either 
returns quickly or waits. It cannot cause 100% CPU usage. Something else 
must be going on. If you can make the code available that you used in 
your test I will have a look at it.

Bart.





More information about the dm-devel mailing list