[sheepdog] [PATCH] collie: retry forever to execute requests
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Fri Jul 19 07:38:34 CEST 2013
At Fri, 19 Jul 2013 11:26:39 +0800,
Liu Yuan wrote:
>
> This patch add a 'max_retry_count' to exec_req() helper. sheep and sheepfs
> still retry MAX_RETRY_COUNT for the rquests. But collie retry forever (UINT32_MAX)
>
> Signed-off-by: Liu Yuan <namei.unix at gmail.com>
> ---
> collie/common.c | 8 ++++++--
> include/net.h | 6 +++---
> lib/net.c | 24 ++++++++++++++----------
> sheep/gateway.c | 5 +++--
> sheep/sockfd_cache.c | 3 ++-
> sheepfs/volume.c | 6 +++---
> 6 files changed, 31 insertions(+), 21 deletions(-)
Applied, thanks!
Kazutaka
More information about the sheepdog
mailing list