[dm-devel] Multipath and HSG80 phase 2

christophe varoqui christophe.varoqui at free.fr
Mon Dec 13 13:30:02 UTC 2004


You'll be fine with fork as long as you don't swap on a multipathed
device.

> Oh!!! i was becoming mad while i found that linking over -lpthread breaks 
> the clone call!!!!
> Just to stress my brain, and only if you are curious, i found that linking 
> over -lpthread and -static gets clone works againg but only when linking a 
> single module (cc -o xxxx xxxx.o -lpthread -static).
> Adding something (cc -o xxxx xxxx.o yyyy.o -lpthread -static) breaks the 
> syscall again, so i think i have to subscribe others mailing-list to fix 
> this :)))
> This the first time i have a such strange problem with slackware....
> 
> So, please tell me using the simple fork in multipathd lets the daemon works 
> fine...
> A comment in your code says:
> 
> /*
>  * this logic is all about keeping callouts working in case of
>  * system disk outage (think system over SAN)
>  * this needs the clone syscall, so don't bother if not present
>  * (Debian Woody)
>  */
> 
>     Nicola Ranaldo
> 
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
-- 
christophe varoqui <christophe.varoqui at free.fr>





More information about the dm-devel mailing list