summaryrefslogtreecommitdiffstats
path: root/src/server/uplink.c
Commit message (Collapse)AuthorAgeFilesLines
* [Server] Added statistics of images and uptime to json.Stephan Schwaer2015-05-051-9/+3Star
|
* Removed dnbd3_printClients, added clients to statistics json in rpc.Stephan Schwaer2015-05-041-3/+17
|
* [SERVER] Added counters for received and sent bytes.Stephan Schwaer2015-04-271-1/+18
|
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-241-1/+1
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-231-3/+3
| | | | delay feature
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-32/+32
| | | | | | - 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-221-7/+28
| | | | Some minor debugging code, mostly commented out
* [SERVER] Fix two minor bugs: Replication stall, integrity checker 100% CPU usageSimon Rettberg2015-02-041-1/+1
|
* [SERVER] Implement proper keep alive for uplinksSimon Rettberg2015-01-281-17/+16Star
|
* [SERVER] Also fix fd leak if uplink_init failsSimon Rettberg2015-01-271-0/+1
|
* [SERVER] Fix automatic proxying to use supplied connection; fix race ↵Simon Rettberg2015-01-271-18/+26
| | | | condition in uplink_init
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-2/+2
| | | | | | | 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-131-1/+1
|
* [SERVER] Refactoring, extending protocol.hSimon Rettberg2015-01-091-22/+13Star
|
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-061-8/+7Star
|
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-021-18/+9Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-39/+34Star
| | | | function names
* [SERVER] Create compilation unit for wait/signalling logic (using eventfd)Simon Rettberg2014-12-311-26/+14Star
|
* [SERVER] Add setting to enable/disable background replication, add comments ↵Simon Rettberg2014-12-291-4/+12
| | | | to config and code
* [SERVER] Improve replication and reconnecting behaviourSimon Rettberg2014-12-221-27/+29
|
* [SERVER] Configurable client timeout, adaptive replication speed (to be ↵Simon Rettberg2014-12-221-15/+22
| | | | tested against varying bw/latency), retry sendfile call if ret <= len
* Improve uplink handling, add code to debug thread creation/destruction, ↵Simon Rettberg2014-06-161-17/+18
| | | | 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-131-0/+1
|
* [SERVER] Remove assertion that doesn't really check for an illegal stateSimon Rettberg2014-01-131-1/+0Star
|
* [SERVER] Once again rework locking in uplink and freeing of resources to ↵Simon Rettberg2013-11-151-17/+36
| | | | fight messups when the uplink is shut down
* [SERVER] Automatic replication of images that are not complete on proxy. ↵Simon Rettberg2013-11-131-2/+54
| | | | Speed probably needs tweaking for different link speeds etc.
* [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵Simon Rettberg2013-11-131-9/+11
| | | | save network bandwidth
* [SERVER] Refactoring, more debug output, try to check for cyclic proxyingSimon Rettberg2013-10-221-0/+9
|
* [SERVER] Fix unlock-without-lock in uplinkSimon Rettberg2013-10-011-1/+1
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-0/+1
|
* [SERVER] Properly decrease uplink.queueLen when removing a clientSimon Rettberg2013-09-171-4/+2Star
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-6/+12
| | | | too often
* [SERVER] Save CRC-32 to disk if successfully retreived from uplink serverSimon Rettberg2013-08-281-1/+11
|
* [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵Simon Rettberg2013-08-281-3/+5
| | | | differently :)
* [SERVER] Fix *printf format strings, remove falsely detected errorsSimon Rettberg2013-08-281-3/+5
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-16/+46
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] On-the-fly transparent proxyingSimon Rettberg2013-08-261-34/+42
|
* [SERVER] (Hopefully) fix starving uplink requestsSimon Rettberg2013-08-151-5/+15
|
* [SERVER] Name uplink thread, remove most integrity check debug messagesSimon Rettberg2013-08-131-3/+5
|
* Test your coke, dork!Simon Rettberg2013-08-131-2/+2
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-10/+13
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-97/+165
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-6/+3Star
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-2/+13
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-5/+42
| | | | | | 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
* fix0rsSimon Rettberg2013-08-021-1/+1
|
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-71/+29Star
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-50/+140
|
* Work in progress: uplinksr2013-07-251-10/+34
|
* ...Working on proxy mode...sr2013-07-251-5/+236
|