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

Liu Yuan namei.unix at gmail.com
Fri May 3 09:03:00 CEST 2013


On 05/03/2013 02:47 PM, MORITA Kazutaka wrote:
> How about keeping sockfd_cache_del() after sockfd_cache_close()?  To
> close the timeout fd in sockfd_cache_destroy(), we have to add another
> argument to sockfd_cache_del() that is meaningless in the case of node
> change events.

So fall back to the v1 patch and just rename _put as _close. This looks
okay(better) to me anyway.

Thanks,
Yuan



More information about the sheepdog mailing list