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

Liu Yuan namei.unix at gmail.com
Thu May 2 04:17:32 CEST 2013


On 05/02/2013 12:50 AM, MORITA Kazutaka wrote:
> When timeout happens, we cannot reuse the socket for other transfers
> because data may remain in its send (or recv) buffer.  We have to
> close the socket before making the sockfd_cache reusable.

I am wondering if we should add a dedicated handler for closing
timeout-fd only, not destroy all the fds.

Thanks,
Yuan




More information about the sheepdog mailing list