diff options
| author | Simon Rettberg | 2020-07-27 12:56:35 +0200 |
|---|---|---|
| committer | Simon Rettberg | 2020-07-27 12:56:35 +0200 |
| commit | 1f212fa1fd0a381b42175dc1bac79baa164e1e45 (patch) | |
| tree | 7d911d7fe40817cbb433acebc3ed735eafe9c6df /LOCKS | |
| parent | [FUSE] Tweak timeout values to prevent stale status file (diff) | |
| parent | [SERVER] Fix: NULL pointer access in saveLoadAllCacheMaps() (diff) | |
| download | dnbd3-1f212fa1fd0a381b42175dc1bac79baa164e1e45.tar.gz dnbd3-1f212fa1fd0a381b42175dc1bac79baa164e1e45.tar.xz dnbd3-1f212fa1fd0a381b42175dc1bac79baa164e1e45.zip | |
Merge branch 'no-working-flag' into fuse_ll
Diffstat (limited to 'LOCKS')
| -rw-r--r-- | LOCKS | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -16,23 +16,22 @@ requests.lock ===== SERVER ===== This is a list of used locks, in the order they -have to be aquired if you must hold multiple locks: -remoteCloneLock | reloadLock +have to be aquired if you must hold multiple locks. +Note this list might be out of date, take a look at the +defines in lock.h for the effective order. +reloadLock +remoteCloneLock _clients_lock _clients[].lock integrityQueueLock _images_lock _images[].lock -pendingLockConsume -pendingLockProduce uplink.queueLock altServersLock client.sendMutex -client.statsLock -statisticsSentLock -statisticsReceivedLock uplink.rttLock uplink.sendMutex +aclLock If you need to lock multiple clients/images/... at once, lock the client with the lowest array index first. |
