summaryrefslogtreecommitdiffstats
path: root/LOCKS
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-23 17:20:20 +0200
committerSimon Rettberg2019-07-23 17:24:27 +0200
commit7937c7db7baea296fce4055a9e9f498e67da2d09 (patch)
tree72574175ea6aa5bc2890fd792c499355a7b2bfab /LOCKS
parent[FUSE] Add --sticky mode to ignore alt-servers announced by servers (diff)
downloaddnbd3-7937c7db7baea296fce4055a9e9f498e67da2d09.tar.gz
dnbd3-7937c7db7baea296fce4055a9e9f498e67da2d09.tar.xz
dnbd3-7937c7db7baea296fce4055a9e9f498e67da2d09.zip
[SERVER] uplink: Relay request in client's thread if possible
Early benchmarking shows that this is faster, since we don't require another thread to wake up just to send out the request.
Diffstat (limited to 'LOCKS')
-rw-r--r--LOCKS1
1 files changed, 1 insertions, 0 deletions
diff --git a/LOCKS b/LOCKS
index 935dadb..4b5b07c 100644
--- a/LOCKS
+++ b/LOCKS
@@ -32,6 +32,7 @@ client.statsLock
statisticsSentLock
statisticsReceivedLock
uplink.rttLock
+uplink.sendMutex
If you need to lock multiple clients/images/... at once,
lock the client with the lowest array index first.