summaryrefslogtreecommitdiffstats
path: root/src/server/locks.h
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Fix log calls in thread debug codeSimon Rettberg2020-11-131-5/+7
|
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-161-3/+3
| | | | | | | | | | This change restructures the source code directories, separates shared form non-shared application code and adds CMake dependencies. These dependencies allow the tracking of changes and trigger a rebuild of those build targets where changed files are involved. WARNING: Note that the support of the DNBD3_SERVER_AFL build option is not supported yet. Thus, the option should be never turned on.
* [SERVER] Add FUSE modeSimon Rettberg2020-07-281-0/+2
| | | | | Still needs some cleanup and optimizations, variable naming sucks, comments, etc.
* [SERVER] Make lock/thread debugging dedicated cmake optionSimon Rettberg2020-03-231-1/+1
|
* [SERVER] Better lock debugging: Always check lock orderSimon Rettberg2019-08-071-10/+26
| | | | | | Lock order is predefined in locks.h. Immediately bail out if a lock with lower priority is obtained while the same thread already holds one with higher priority.
* [SERVER] Fix compile in release modeSimon Rettberg2019-08-021-1/+1
|
* [SERVER] Turn all spinlocks into mutexesSimon Rettberg2019-07-261-16/+19
| | | | | | | | Just assume sane platforms offer smart mutexes that have a fast-path with spinlocks internally for locks that have little to no congestion. In all other cases, mutexes should perform better anyways.
* cleanup commitsSebastian2016-02-111-3/+2Star
|
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-5/+5
| | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-051-1/+2
|
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-161-0/+50
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [SERVER] several improvementsSimon Rettberg2013-08-021-0/+3
| | | | | | 1) Close uplink if local copy is complete 2) Fix memleak when closing uplink (recv buffer was not cleared) 3) Add configurable artificial delays for client and server connections
* kernel module changessr2013-07-181-1/+3
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-2/+2
| | | | | | tracked and debugged Fix compilation of kernel module
* Add debug-lock functions that will helpt to spot deadlocks etc. while developingsr2013-07-161-0/+30