From 8c185da50460916115c66ea8e3be16c71759e06a Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 8 Feb 2019 16:04:51 +0100 Subject: [FUSE] Consider RTT of active connection for switch-decisions --- src/fuse/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fuse/connection.h') diff --git a/src/fuse/connection.h b/src/fuse/connection.h index 37bca88..929777a 100644 --- a/src/fuse/connection.h +++ b/src/fuse/connection.h @@ -10,10 +10,11 @@ struct _dnbd3_async; typedef struct _dnbd3_async { struct _dnbd3_async *next; // Next in this linked list (provate field, not set by caller) + dnbd3_signal_t* signal; // Used to signal the caller char* buffer; // Caller-provided buffer to be filled + uint64_t time; // When request was put on wire, 0 if not measuring uint64_t offset; uint32_t length; - dnbd3_signal_t* signal; // Used to signal the caller bool finished; // Will be set to true if the request has been handled bool success; // Will be set to true if the request succeeded } dnbd3_async_t; -- cgit v1.2.3-55-g7522