summaryrefslogtreecommitdiffstats
path: root/src/server
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Add missing nullptr check from refactoring, improve lockingSimon Rettberg2015-12-071-9/+11
|
* [SERVER] Update includes for moved log.hSimon Rettberg2015-12-0210-11/+11
|
* [FUSE] Compiles againSimon Rettberg2015-11-302-238/+0Star
|
* [FUSE] Mid-refactoring, does not compileSimon Rettberg2015-11-248-306/+6Star
|
* [SERVER] Fix race condition potentially leading to use after releaseSimon Rettberg2015-11-231-2/+2
|
* [FUSE] Start refactoring so we can handle multithread fuseSimon Rettberg2015-11-217-109/+8Star
|
* [SERVER] Improve image related lockingSimon Rettberg2015-11-201-1/+7
|
* [SERVER] Check uplink server for newer revision than local if client ↵Simon Rettberg2015-11-111-15/+22
| | | | requests rid=0
* [SERVER] Fix integer overflow of global bytesReceived getterSimon Rettberg2015-05-131-1/+1
|
* [SERVER] Reload images in another thread when triggered by signalSimon Rettberg2015-05-123-38/+62
| | | | | | | The server used to reload all images on the main thread, which is also responsible for accepting connections. While reloading the list, no new connections were accepted, which lead to clients marking the server as bad during their RTT measurements, then switching away from it.
* [SERVER] Renamed image_fillJson to image_getListAsJson.Stephan Schwaer2015-05-083-3/+3
|
* [SERVER] Rename some more RPC fieldsSimon Rettberg2015-05-082-2/+2
|
* [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵Simon Rettberg2015-05-084-11/+17
| | | | names of the byte count fields in RPC consistent
* [SERVER] Fix premature connection close for RPC repliesSimon Rettberg2015-05-053-7/+40
|
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-058-48/+35Star
|
* Removed dnbd3_printClients, added clients to statistics json in rpc.Stephan Schwaer2015-05-047-32/+89
|
* [SERVER] PoC RPC interfaceschwaers2015-04-303-2/+31
|
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-276-2/+39
|
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-244-139/+3Star
|
* [SERVER] Correct debug/error messages in altserver.cSimon Rettberg2015-03-051-7/+7
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-237-74/+53Star
| | | | delay feature
* [SERVER] Overhauled loggingSimon Rettberg2015-02-2216-330/+429
| | | | | | - 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
* Get rid of unneccessary volatileSimon Rettberg2015-02-228-29/+50
| | | | Some minor debugging code, mostly commented out
* [SERVER] Fix bug where checking if a request is cached would yield a false ↵Simon Rettberg2015-02-191-6/+7
| | | | negative
* [SERVER] Fix really stupid bug where received data gets written to random memorySimon Rettberg2015-02-191-1/+1
|
* [SERVER] Fix two minor bugs: Replication stall, integrity checker 100% CPU usageSimon Rettberg2015-02-042-2/+1Star
|
* [SERVER] Use shared file handle for readingSimon Rettberg2015-01-304-51/+49Star
|
* [SERVER] Implement proper keep alive for uplinksSimon Rettberg2015-01-282-27/+30
|
* [SERVER] Also fix fd leak if uplink_init failsSimon Rettberg2015-01-272-1/+2
|
* [SERVER] Fix automatic proxying to use supplied connection; fix race ↵Simon Rettberg2015-01-275-36/+44
| | | | condition in uplink_init
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-1410-27/+33
| | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition.
* [SERVER] Fix stupid bug (not using errno)Simon Rettberg2015-01-132-3/+4
|
* [SERVER] Refactoring, extending protocol.hSimon Rettberg2015-01-092-30/+40
|
* [SERVER] Support blocking signals, saves a syscall in threadpoolSimon Rettberg2015-01-093-2/+13
|
* [SERVER] Set client connection timeout in client threadSimon Rettberg2015-01-072-2/+2
|
* [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵Simon Rettberg2015-01-065-39/+17Star
| | | | handling signals even though we block them
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-0611-280/+308
|
* [SERVER] Use a thread pool for client connectionsSimon Rettberg2015-01-058-19/+145
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-025-99/+24Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-3119-328/+325Star
| | | | function names
* [SERVER] Minor tweaks and improvementsSimon Rettberg2014-12-314-9/+15
|
* [SERVER] Create compilation unit for wait/signalling logic (using eventfd)Simon Rettberg2014-12-315-54/+118
|
* [SERVER] Add setting to enable/disable background replication, add comments ↵Simon Rettberg2014-12-293-4/+20
| | | | to config and code
* [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵Simon Rettberg2014-12-222-1/+4
| | | | be changed
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-226-36/+38
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-226-24/+44
| | | | tested against varying bw/latency), retry sendfile call if ret <= len
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-1612-63/+135
| | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...
* [SERVER] Thread and uplink handlingSimon Rettberg2014-02-133-4/+5
|
* [*] Add automatic version string generationv2.0Simon Rettberg2014-01-131-0/+1
|
* [SERVER] Don't wait forever on shutdownSimon Rettberg2014-01-131-1/+2
|