Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] Don't wait forever on shutdown | Simon Rettberg | 2014-01-13 | 1 | -1/+2 |
| | |||||
* | [SERVER] Remove assertion that doesn't really check for an illegal state | Simon Rettberg | 2014-01-13 | 1 | -1/+0 |
| | |||||
* | Fixed the amazing infinite loop I introduced when refactoring | Simon Rettberg | 2014-01-11 | 1 | -8/+18 |
| | |||||
* | [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txt | Simon Rettberg | 2014-01-09 | 2 | -2/+3 |
| | | | | | | Use 'CC=/usr/local/bin/clang cmake -D_CMAKE_TOOLCHAIN_PREFIX=llvm- ..' to compile using clang. Requires LLVM 3.1 since AddressSanitizer is used for clang debug builds. | ||||
* | [SERVER] Fix old image deletion, make image_load a bit nicer | Simon Rettberg | 2014-01-09 | 1 | -102/+146 |
| | |||||
* | [SERVER] SIGHUP triggers reload aswell. Some changes to server shutdown ↵ | Simon Rettberg | 2014-01-02 | 1 | -21/+18 |
| | | | | function. | ||||
* | [SERVER] Fix possible deadlock through printf usage in signal handler | Simon Rettberg | 2013-12-10 | 1 | -15/+21 |
| | |||||
* | [SERVER] Clean up properly when deleting an image | Simon Rettberg | 2013-12-06 | 1 | -1/+9 |
| | |||||
* | [SERVER] Remove annoying message about cache maps being saved | Simon Rettberg | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | [SERVER] Fix free disk space check | Simon Rettberg | 2013-12-04 | 2 | -1/+5 |
| | |||||
* | [SERVER] Deletion restrictions | Simon Rettberg | 2013-11-20 | 1 | -1/+1 |
| | |||||
* | [SERVER] Stümperhaften double-free gefixt | Simon Rettberg | 2013-11-19 | 1 | -3/+3 |
| | |||||
* | [SERVER] Like kernel module, request first block, not random one | Simon Rettberg | 2013-11-17 | 1 | -4/+2 |
| | |||||
* | [SERVER] Once again rework locking in uplink and freeing of resources to ↵ | Simon Rettberg | 2013-11-15 | 2 | -18/+37 |
| | | | | fight messups when the uplink is shut down | ||||
* | [SERVER] Create client threads detached instead of detaching them after ↵ | Simon Rettberg | 2013-11-14 | 1 | -5/+4 |
| | | | | creation to prevent a race condition where a thread dies faster than we can call pthread_detach, which leads to a use-after-free | ||||
* | [SERVER] Forgot a return that lead to locking messup :/ | Simon Rettberg | 2013-11-13 | 1 | -0/+1 |
| | |||||
* | [SERVER] Automatic replication of images that are not complete on proxy. ↵ | Simon Rettberg | 2013-11-13 | 2 | -2/+56 |
| | | | | Speed probably needs tweaking for different link speeds etc. | ||||
* | [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵ | Simon Rettberg | 2013-11-13 | 3 | -10/+16 |
| | | | | save network bandwidth | ||||
* | [SERVER] Don't lock on image array when saving cache maps | Simon Rettberg | 2013-11-13 | 1 | -2/+4 |
| | |||||
* | [SERVER] Mark image complete if so | Simon Rettberg | 2013-11-13 | 1 | -0/+5 |
| | |||||
* | [SERVER] Shut down altservers finder properly | Simon Rettberg | 2013-11-12 | 3 | -4/+10 |
| | |||||
* | [SERVER] Save cache maps every 30 mins | Simon Rettberg | 2013-11-12 | 3 | -1/+24 |
| | |||||
* | Merge branch 'simon' of dnbd3:dnbd3 into simon | Simon Rettberg | 2013-11-12 | 5 | -86/+123 |
|\ | | | | | | | | | Conflicts: src/server/altservers.c | ||||
| * | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 5 | -9/+16 |
| | | |||||
| * | [SERVER] Split "pending" lock for alt-server finding into producer and ↵ | Simon Rettberg | 2013-11-10 | 1 | -75/+105 |
| | | | | | | | | | | | | consumer lock to fix a potential NPA when an uplink dies Also some refactoring of variable names and more comments | ||||
* | | [SERVER] Fix embarrassing deadlock when deleting old images | Simon Rettberg | 2013-11-12 | 1 | -9/+9 |
| | | |||||
* | | [SERVER] Add "client only" flag for alt servers | Simon Rettberg | 2013-11-12 | 3 | -6/+10 |
|/ | |||||
* | aesfsrgdsr | Simon Rettberg | 2013-11-07 | 1 | -0/+5 |
| | |||||
* | bla | Simon Rettberg | 2013-11-07 | 2 | -0/+3 |
| | |||||
* | Joey style commit | Simon Rettberg | 2013-11-07 | 2 | -2/+2 |
| | |||||
* | [SERVER] Add --bind parameter to specify bind interface (currently IPv4 only) | Simon Rettberg | 2013-11-07 | 3 | -5/+19 |
| | |||||
* | [SERVER] Only mark server as bad on unecpected error | Simon Rettberg | 2013-10-24 | 1 | -7/+6 |
| | |||||
* | [SERVER] Refactoring, more debug output, try to check for cyclic proxying | Simon Rettberg | 2013-10-22 | 4 | -7/+23 |
| | |||||
* | [SERVER] Fetch correct revision after cloning | Simon Rettberg | 2013-10-01 | 1 | -3/+3 |
| | |||||
* | [SERVER] Fix unlock-without-lock in uplink | Simon Rettberg | 2013-10-01 | 1 | -1/+1 |
| | |||||
* | [SERVER] Block signals on network threads | Simon Rettberg | 2013-09-17 | 7 | -7/+28 |
| | |||||
* | [SERVER] Properly decrease uplink.queueLen when removing a client | Simon Rettberg | 2013-09-17 | 2 | -6/+9 |
| | |||||
* | [SERVER] Fix generation of alt-server list for client | Simon Rettberg | 2013-09-17 | 1 | -6/+6 |
| | |||||
* | [SERVER] Typo... | Simon Rettberg | 2013-09-16 | 1 | -1/+1 |
| | |||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 7 | -37/+140 |
| | | | | too often | ||||
* | I'm stupid #62 | Simon Rettberg | 2013-08-28 | 1 | -1/+1 |
| | |||||
* | [SERVER] Properly receive complete crc32 list | Simon Rettberg | 2013-08-28 | 1 | -2/+8 |
| | |||||
* | [SERVER] Save CRC-32 to disk if successfully retreived from uplink server | Simon Rettberg | 2013-08-28 | 1 | -1/+11 |
| | |||||
* | [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵ | Simon Rettberg | 2013-08-28 | 3 | -6/+8 |
| | | | | differently :) | ||||
* | [SERVER] Fix *printf format strings, remove falsely detected errors | Simon Rettberg | 2013-08-28 | 2 | -7/+11 |
| | |||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 14 | -116/+298 |
| | | | | | 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 proxying | Simon Rettberg | 2013-08-26 | 8 | -99/+136 |
| | |||||
* | [SERVER] WIP: On-the-fly image cloning | Simon Rettberg | 2013-08-23 | 3 | -57/+241 |
| | |||||
* | [SERVER] Formatting | Simon Rettberg | 2013-08-19 | 2 | -6/+19 |
| | |||||
* | [SERVER] (Hopefully) fix starving uplink requests | Simon Rettberg | 2013-08-15 | 2 | -20/+39 |
| |