Re: [PATCH] Change the IPC TIMEOUT to block.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Jan Friesse <jfriesse@xxxxxxxxxx>

Angus Salkeld napsal(a):
This is to make sure that we properly wait for responses
from corosync. I have made a fix to libqb to properly
handle the case when corosync exits/crashes between
a send and receive.

Signed-off-by: Angus Salkeld<asalkeld@xxxxxxxxxx>
---
  include/corosync/corotypes.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/corosync/corotypes.h b/include/corosync/corotypes.h
index 87229ad..d5a7d01 100644
--- a/include/corosync/corotypes.h
+++ b/include/corosync/corotypes.h
@@ -108,7 +108,7 @@ typedef enum {
     CS_ERR_SECURITY = 100
  } cs_error_t;

-#define CS_IPC_TIMEOUT_MS 1000
+#define CS_IPC_TIMEOUT_MS -1

  #define CS_TIME_MS_IN_SEC   1000ULL
  #define CS_TIME_US_IN_SEC   1000000ULL

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux