summaryrefslogtreecommitdiffstats
path: root/src/server/uplink.c
Commit message (Expand)AuthorAgeFilesLines
* [SERVER] Fix warning on clangSimon Rettberg2019-09-071-6/+1Star
* [SERVER] integrity checker: Improve flushing logicSimon Rettberg2019-09-051-1/+1
* [SERVER] Move signal init to uplink_initSimon Rettberg2019-09-021-10/+11
* [SERVER] uplink: Don't disable already disabled imageSimon Rettberg2019-09-021-1/+1
* [SERVER] uplink: Don't reinit uplink when freeing itSimon Rettberg2019-09-021-13/+3Star
* [SERVER] Less debug spam, fix RTT interval calculationSimon Rettberg2019-08-301-3/+5
* [SERVER] Introduce debug spamSimon Rettberg2019-08-301-8/+8
* [SERVER] No uplink_init when checking working state; improve loggingSimon Rettberg2019-08-301-0/+1
* [SERVER] Tear down whole uplink on idle timeoutSimon Rettberg2019-08-291-21/+19Star
* [SERVER] Use weakref for cache mapsSimon Rettberg2019-08-291-34/+30Star
* [SERVER] Fix swapped assignmentSimon Rettberg2019-08-271-1/+1
* [SERVER] Use reference counting for uplinkSimon Rettberg2019-08-271-88/+126
* [SERVER] Fix warnings, simplify lockingSimon Rettberg2019-08-261-11/+12
* [SERVER] Get rid of alt-servers thread, per-uplink rtt historySimon Rettberg2019-08-221-56/+61
* [SERVER] Add struct representing active connection to uplink serverSimon Rettberg2019-08-181-40/+38Star
* [SERVER] uplink: More consistent type/variable namingSimon Rettberg2019-08-181-277/+277
* [SERVER] Better lock debugging: Always check lock orderSimon Rettberg2019-08-071-3/+3
* [SERVER] Lock-free queue for altservers check threadSimon Rettberg2019-08-071-4/+4
* [SERVER] uplink: Improve attaching to existing requestsSimon Rettberg2019-08-061-23/+74
* [SERVER] Fix: Client thread could destroy sendMutex while in useSimon Rettberg2019-08-061-0/+3
* [SERVER] Allow uplink shutdown if bgrMinClients > image->usersSimon Rettberg2019-08-051-1/+2
* [SERVER] Turn all spinlocks into mutexesSimon Rettberg2019-07-261-94/+94
* [SERVER] uplink: Relay request in client's thread if possibleSimon Rettberg2019-07-231-3/+56
* [SERVER] Don't shutdown uplink if background replication is FULLSimon Rettberg2019-02-131-1/+1
* [SERVER] uplink: Dedicated function for handling link failureSimon Rettberg2019-02-081-31/+50
* [SERVER] Don't keep an uplink connection established foreverSimon Rettberg2019-01-311-38/+70
* [SERVER] uplink: Check for _maxPayload when getting client requestSimon Rettberg2019-01-311-0/+4
* [SERVER] Fix last block replicating indefinitely in hasblock modeSimon Rettberg2018-08-141-5/+7
* [SERVER] Use atomic vars for uplink byte countersSimon Rettberg2018-08-131-26/+4Star
* [SERVER] Use atomic var for (total)bytesSent countersSimon Rettberg2018-08-081-2/+0Star
* [SERVER] Add missing file mode to open() callSimon Rettberg2018-07-261-2/+2
* [SERVER] Fix use of wrong constant; increase queue len for hash checkerSimon Rettberg2018-07-101-1/+1
* [SERVER] Reduce spam some moreSimon Rettberg2018-07-091-1/+1
* [SERVER] Introduce backgroundReplication=hashblockSimon Rettberg2018-07-091-33/+121
* [SERVER] Don't keep bg replication blocks in fs cacheSimon Rettberg2018-07-051-1/+5
* [SERVER] Always use fsync instead of fdatasyncSimon Rettberg2018-07-051-8/+2Star
* [SERVER] Refactor uplink/cache handling, improve crc checkingSimon Rettberg2018-07-041-35/+182
* [SERVER] Use likely/unlikely in uplink disk writing loopSimon Rettberg2018-06-251-4/+4
* [SERVER] Try to re-open cacheFd if writing failsSimon Rettberg2018-06-251-6/+12
* [SERVER] Add bgrMinClients: Thresold to control when BGR startsSimon Rettberg2018-04-121-3/+6
* [SERVER] More error handling and logging when caching received data to diskSimon Rettberg2018-04-101-4/+13
* [SERVER] Experimental support for sparse files in proxy modeSimon Rettberg2018-03-151-1/+10
* [SERVER] altservers: Short timeout during RTT measurement, round request rangeSimon Rettberg2017-11-081-4/+7
* [SERVER] Add multiple config options for limiting stuffSimon Rettberg2017-11-081-2/+2
* [SERVER] Use multiConnect() to find uplink for replicationSimon Rettberg2017-11-071-1/+1
* [SERVER] uplink: Fix updating of global byte counter, fix incremental updatesSimon Rettberg2017-10-251-2/+7
* [SERVER] Improve handling of byte stats countersSimon Rettberg2017-10-251-4/+13
* [SERVER] Get rid of zlib dependencySimon Rettberg2017-10-241-3/+3
* [SERVER] Fix types or add explicit casts everywhere we might have type conver...Simon Rettberg2017-10-241-5/+5
* [SERVER] Use monotonic clock for measuring timeSimon Rettberg2017-10-191-16/+20