Re: [dm-devel] [PATCH v2 02/13] dm-mpath: Avoid that path removal can trigger an infinite loop

2017-04-27 Thread Hannes Reinecke
On 04/27/2017 07:11 PM, Bart Van Assche wrote: > If blk_get_request() fails check whether the failure is due to > a path being removed. If that is the case fail the path by > triggering a call to fail_path(). This patch avoids that the > following scenario can be encountered while removing paths: >

[dm-devel] [PATCH v2 02/13] dm-mpath: Avoid that path removal can trigger an infinite loop

2017-04-27 Thread Bart Van Assche
If blk_get_request() fails check whether the failure is due to a path being removed. If that is the case fail the path by triggering a call to fail_path(). This patch avoids that the following scenario can be encountered while removing paths: * CPU usage of a kworker thread jumps to 100%. * Removin