[sheepdog] [PATCH] sockfd_cache: close socket always when node is crashed

Liu Yuan namei.unix at gmail.com
Thu May 2 05:33:18 CEST 2013


On 05/02/2013 10:51 AM, MORITA Kazutaka wrote:
> I'm not sure if I understand your suggestion correctly, but from the
> point of view that we have to set false to .in_use and close the
> timeout fd in the same lock context, adding another handler doesn't
> look a good idea to me.

I meant a new helper function sheep_del_sockfd_timeout() that only close
the timeout-fd instead of trying to close all the fds and remove the nid
for the timeout condition.

Thanks,
Yuan



More information about the sheepdog mailing list