From aedf8c534195772f60e7c6409ae045fa20415aef Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 11 Jan 2016 11:59:03 +0100 Subject: [KERNEL/CLIENT] Several minor tweaks and changes - Disable panic timeout that reports errors to block layer by default - Get rid of "is_server" used by old proxy mode, introduce "honor_server_alts" that just controls whether we use alts provided by the server - Allow switching servers when we only have 3 RTT measurements - If using alts provided by server, don't ignore those that come from other servers than the initial one --- src/types.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/types.h') diff --git a/src/types.h b/src/types.h index 7303baa..6652a0d 100644 --- a/src/types.h +++ b/src/types.h @@ -86,6 +86,7 @@ typedef struct } dnbd3_host_t; #pragma pack(0) +#pragma pack(1) typedef struct { uint16_t len; @@ -94,8 +95,9 @@ typedef struct char *imgname; int rid; int read_ahead_kb; - uint8_t is_server; // FALSE = automatic (real client), TRUE = manual control (proxy) + uint8_t use_server_provided_alts; } dnbd3_ioctl_t; +#pragma pack(0) // network #define CMD_GET_BLOCK 1 -- cgit v1.2.3-55-g7522