Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 1 | -22/+23 | |
| | | | | delay feature | |||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -42/+42 | |
| | | | | | | - 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 | |||||
* | [SERVER] Use shared file handle for reading | Simon Rettberg | 2015-01-30 | 1 | -17/+15![]() | |
| | ||||||
* | [SERVER] Implement proper keep alive for uplinks | Simon Rettberg | 2015-01-28 | 1 | -10/+14 | |
| | ||||||
* | [SERVER] Also fix fd leak if uplink_init fails | Simon Rettberg | 2015-01-27 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -14/+16 | |
| | | | | condition in uplink_init | |||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -11/+12 | |
| | | | | | | | 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] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -34/+49 | |
| | ||||||
* | [SERVER] Dead code removal, minor performance tweaks, refactoring, etc. | Simon Rettberg | 2015-01-02 | 1 | -2/+2 | |
| | ||||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -98/+97![]() | |
| | | | | function names | |||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -1/+1 | |
| | ||||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 1 | -9/+12 | |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | |||||
* | Fixed the amazing infinite loop I introduced when refactoring | Simon Rettberg | 2014-01-11 | 1 | -8/+18 | |
| | ||||||
* | [SERVER] Fix old image deletion, make image_load a bit nicer | Simon Rettberg | 2014-01-09 | 1 | -102/+146 | |
| | ||||||
* | [SERVER] Clean up properly when deleting an image | Simon Rettberg | 2013-12-06 | 1 | -1/+9 | |
| | ||||||
* | [SERVER] Fix free disk space check | Simon Rettberg | 2013-12-04 | 1 | -0/+4 | |
| | ||||||
* | [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] Forgot a return that lead to locking messup :/ | Simon Rettberg | 2013-11-13 | 1 | -0/+1 | |
| | ||||||
* | [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] Save cache maps every 30 mins | Simon Rettberg | 2013-11-12 | 1 | -1/+13 | |
| | ||||||
* | Merge branch 'simon' of dnbd3:dnbd3 into simon | Simon Rettberg | 2013-11-12 | 1 | -7/+7 | |
|\ | | | | | | | | | Conflicts: src/server/altservers.c | |||||
| * | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -7/+7 | |
| | | ||||||
* | | [SERVER] Fix embarrassing deadlock when deleting old images | Simon Rettberg | 2013-11-12 | 1 | -9/+9 | |
|/ | ||||||
* | [SERVER] Fetch correct revision after cloning | Simon Rettberg | 2013-10-01 | 1 | -3/+3 | |
| | ||||||
* | [SERVER] Properly decrease uplink.queueLen when removing a client | Simon Rettberg | 2013-09-17 | 1 | -2/+7 | |
| | ||||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -1/+52 | |
| | | | | too often | |||||
* | [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵ | Simon Rettberg | 2013-08-28 | 1 | -1/+1 | |
| | | | | differently :) | |||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -20/+97 | |
| | | | | | 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 | 1 | -18/+42 | |
| | ||||||
* | [SERVER] WIP: On-the-fly image cloning | Simon Rettberg | 2013-08-23 | 1 | -4/+120 | |
| | ||||||
* | I'm stupid | Simon Rettberg | 2013-08-12 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -21/+75 | |
| | ||||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -14/+50 | |
| | ||||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -4/+29 | |
| | | | | corruption | |||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -2/+2 | |
| | | | | | | 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 | |||||
* | fix0rs | Simon Rettberg | 2013-08-02 | 1 | -2/+3 | |
| | ||||||
* | [SERVER] Fix create_image() by adding fallback solutions for fallocate() | Simon Rettberg | 2013-08-01 | 1 | -11/+10![]() | |
| | ||||||
* | [SERVER] Add command line options to create empty image of certain size with ↵ | Simon Rettberg | 2013-08-01 | 1 | -21/+122 | |
| | | | | empty cache map (so it needs an uplink server) | |||||
* | [SERVER] Still working on the uplink... Almost there | sr | 2013-07-26 | 1 | -2/+8 | |
| | ||||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -3/+55 | |
| | ||||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -4/+38 | |
| | ||||||
* | Implement CRC-32 list generation; fix quick CRC-32 check on image loading | sr | 2013-07-23 | 1 | -4/+122 | |
| | ||||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -18/+24 | |
| | ||||||
* | Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵ | sr | 2013-07-17 | 1 | -23/+24 | |
| | | | | | | tracked and debugged Fix compilation of kernel module | |||||
* | Fix more bugs, remove debug messages | sr | 2013-07-16 | 1 | -6/+2![]() | |
| | ||||||
* | Fix bugs from rewrite so it actually works | sr | 2013-07-16 | 1 | -9/+13 | |
| | ||||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -18/+33 | |
| | ||||||
* | Rewriiiiiiiiite | sr | 2013-07-15 | 1 | -0/+6 | |
| |