Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | [KERNEL] Don't pick a random block for RTT measurement | Simon Rettberg | 2013-11-17 | 1 | -17/+3 |
| | | | | It's a bad idea. | ||||
* | [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] Decrease cache map save interval for now | Simon Rettberg | 2013-11-13 | 1 | -1/+2 |
| | |||||
* | [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 | 4 | -1/+25 |
| | |||||
* | Merge branch 'simon' of dnbd3:dnbd3 into simon | Simon Rettberg | 2013-11-12 | 10 | -217/+302 |
|\ | | | | | | | | | Conflicts: src/server/altservers.c | ||||
| * | tiny fix | Simon Rettberg | 2013-11-11 | 1 | -1/+1 |
| | | |||||
| * | [KERNEL] Fix possible deadlock on server switch | Simon Rettberg | 2013-11-11 | 2 | -80/+75 |
| | | | | | | | | | | [KERNEL] Remove server mode support as it's not needed anymore [KERNEL] Some more sanity checks and debug messages | ||||
| * | [CLIENT] Add options to add and remove alt-servers | Simon Rettberg | 2013-11-11 | 1 | -31/+94 |
| | | |||||
| * | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 7 | -29/+26 |
| | | |||||
| * | [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 |
|/ | |||||
* | [SERVER] Extend endianness detection | Simon Rettberg | 2013-11-08 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | [KERNEL] Tweak better server selection a bit by also adding a constant delay ↵ | Simon Rettberg | 2013-10-24 | 1 | -1/+1 |
| | | | | (1,5ms) | ||||
* | [KERNEL] Slow down with RTT measurements after 30 seconds | Simon Rettberg | 2013-10-24 | 3 | -8/+26 |
| | | | | | | | Right after connecting, all servers will be polled every 4 seconds for 30 seconds, so we get 7 data points per alt-server. If no better server is found during this time, further RTT measurements will be done every 22 seconds, to put less load on the network in the long run. | ||||
* | [SERVER] Only mark server as bad on unecpected error | Simon Rettberg | 2013-10-24 | 1 | -7/+6 |
| | |||||
* | [KERNEL] Detect stale state and change server | Simon Rettberg | 2013-10-24 | 1 | -3/+24 |
| | |||||
* | [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 | 8 | -38/+144 |
| | | | | 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 | 15 | -117/+299 |
| | | | | | 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 | 4 | -57/+243 |
| |