diff options
author | sr | 2012-08-30 00:36:54 +0200 |
---|---|---|
committer | sr | 2012-08-30 00:36:54 +0200 |
commit | 5b9b2174512d97399c68172bffe91cf928b1400a (patch) | |
tree | bf2cb9a7ae67cfe922fc7d2a6dcb432eaad4a2d9 /src/config.h | |
parent | Fix linebreak, add comment (diff) | |
download | dnbd3-5b9b2174512d97399c68172bffe91cf928b1400a.tar.gz dnbd3-5b9b2174512d97399c68172bffe91cf928b1400a.tar.xz dnbd3-5b9b2174512d97399c68172bffe91cf928b1400a.zip |
[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
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
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: |