From 5b9b2174512d97399c68172bffe91cf928b1400a Mon Sep 17 00:00:00 2001 From: sr Date: Thu, 30 Aug 2012 00:36:54 +0200 Subject: [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled properly on 32bit [SERVER] Change IPC interface to be able to handle more than 1 request per connection [SERVER] Change IPC interface to use select() so it can handle multiple connections at the same time [SERVER] Re-Implement dnbd3_add_image() to work with image list [SERVER] Add lots of sanity/safety checks and error messages when loading/adding an image --- src/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 1cef874..7a68f7a 100644 --- a/src/config.h +++ b/src/config.h @@ -42,7 +42,7 @@ #define SOCKET_TIMEOUT_CLIENT_DATA 2 #define SOCKET_TIMEOUT_CLIENT_DISCOVERY 1 -#define NUMBER_SERVERS 8 +#define NUMBER_SERVERS 8 // Number of alt servers per image/device #define RTT_THRESHOLD_FACTOR(us) (((us) * 2) / 3) // 2/3 = current to best must be 33% worse #define RTT_UNREACHABLE 0x7FFFFFFul // Use this value for timeout/unreachable as RTT. Don't set too high or you might get overflows. 0x7FFFFFF = 134 seconds // This must be a power of two: -- cgit v1.2.3-55-g7522