[dm-devel] [PATCH 00/15] Fifteen multipath-tools patches

Bart Van Assche bart.vanassche at sandisk.com
Mon Oct 10 20:34:43 UTC 2016


On 10/07/2016 07:05 PM, tang.junhui at zte.com.cn wrote:
> "0007-multipathd-Fix-a-data-race.patch"
>
> This patch solved the data race problem,
>
> but the assignment for paths check interval has no effect,
>
> since there is no path in vecs when calling
> init_path_check_interval(vecs) in child(),
>
> I think it is better to call
>  init_path_check_interval(vecs) at reconfigure() or configure()
>
> after the paths has created in vecs .

Hello Tang,

If init_path_check_interval() doesn't have any effect then I propose to 
remove that function. pp->checkint is namely already initialized in 
cli_add_path().

Bart.




More information about the dm-devel mailing list