[sheepdog] [PATCH 1/2] test: add a test for sockfd keepalive

Liu Yuan namei.unix at gmail.com
Mon Sep 3 16:41:24 CEST 2012


On 09/03/2012 10:07 PM, MORITA Kazutaka wrote:
> It waits for a response from the unreachable node at poll() in
> wait_forward_request().  I'm not sure why it returns after keepalive
> timeout...

I met this problem too. But it is quite rare, and I think need to look at how poll
works inside kernel to give the fix. Because I have test keepalive with poll, keepalive
does take effect on my tests. I guess at some corner cases of poll, keepalive don't take effect.

Thanks,
Yuan



More information about the sheepdog mailing list