[sheepdog] [PATCH v2] sheep: fix a sheep hang problem
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Tue Dec 11 06:36:36 CET 2012
At Mon, 10 Dec 2012 16:55:45 +0800,
Liu Yuan wrote:
>
> From: Liu Yuan <tailai.ly at taobao.com>
>
> We observed that eventfd_read() in exec_local_request() might get 'Bad file
> destriptor' and led the sheep daemon hang in 'goto loop'. We can only safely
> loop in EINTR cases, for others, let gateway retry the request.
>
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
> v2: put eprintf() in a better place.
>
> sheep/request.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
Applied, thanks!
Kazutaka
More information about the sheepdog
mailing list