Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1 | Simon Rettberg | 2016-02-01 | 1 | -3/+3 |
| | | | | | | | | | | This was a wrong decision made long time ago, and it's broken in certain scenarios (eg. two servers serving from same NFS mount). Also it's of limited use anyways since it only supportes ASCII and would ignore umlauts, so blöd and BLÖD would still be considered two different images. So if you relied on this "feature" in any way, be careful when updating. | ||||
* | [SERVER] Fix a lot of (mostly harmless) data races | Simon Rettberg | 2016-01-11 | 1 | -0/+1 |
| | |||||
* | [SERVER] Performance: Optimized some functions (gprof) | Simon Rettberg | 2015-12-17 | 1 | -6/+9 |
| | | | | | | | A run with gprof revealed that background replication is a huge CPU hog. The block selection was very slow and has been improved a lot. Minor improvements were made to other functions that scan the cache map of an image and are thus relatively slow. | ||||
* | [SERVER] More fine grained locking for RPC; better error logging | Simon Rettberg | 2015-12-16 | 1 | -4/+8 |
| | |||||
* | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 1 | -0/+6 |
| | | | | | | | | | | Now that we can automatically load unknown images from disk on request, it makes sense to remove non-working images from the image list. On future requests, we will look for them on disk again, which is nice in case of temporary storage hickups. Also, some more ore less related locking has been refined (loading images, replicating images) | ||||
* | [SERVER] Make listen port configurable | Simon Rettberg | 2015-12-14 | 1 | -2/+7 |
| | |||||
* | [SERVER] Nullpad images virtually at runtime instead of padding the actual file | Simon Rettberg | 2015-12-10 | 1 | -1/+2 |
| | |||||
* | [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵ | Simon Rettberg | 2015-05-08 | 1 | -0/+1 |
| | | | | names of the byte count fields in RPC consistent | ||||
* | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 1 | -0/+2 |
| | |||||
* | Get rid of unneccessary volatile | Simon Rettberg | 2015-02-22 | 1 | -11/+11 |
| | | | | Some minor debugging code, mostly commented out | ||||
* | [SERVER] Use shared file handle for reading | Simon Rettberg | 2015-01-30 | 1 | -0/+1 |
| | |||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -1/+1 |
| | | | | condition in uplink_init | ||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -1/+1 |
| | | | | | | | 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] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵ | Simon Rettberg | 2015-01-06 | 1 | -1/+1 |
| | | | | handling signals even though we block them | ||||
* | [SERVER] Use a thread pool for client connections | Simon Rettberg | 2015-01-05 | 1 | -2/+0 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -11/+13 |
| | | | | function names | ||||
* | [SERVER] Add setting to enable/disable background replication, add comments ↵ | Simon Rettberg | 2014-12-29 | 1 | -0/+6 |
| | | | | to config and code | ||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -1/+1 |
| | |||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -2/+8 |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | ||||
* | Improve uplink handling, add code to debug thread creation/destruction, ↵ | Simon Rettberg | 2014-06-16 | 1 | -5/+5 |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | ||||
* | [SERVER] Automatic replication of images that are not complete on proxy. ↵ | Simon Rettberg | 2013-11-13 | 1 | -0/+2 |
| | | | | 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 | 1 | -0/+1 |
| | | | | save network bandwidth | ||||
* | Merge branch 'simon' of dnbd3:dnbd3 into simon | Simon Rettberg | 2013-11-12 | 1 | -0/+5 |
|\ | | | | | | | | | Conflicts: src/server/altservers.c | ||||
| * | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -0/+5 |
| | | |||||
* | | [SERVER] Add "client only" flag for alt servers | Simon Rettberg | 2013-11-12 | 1 | -1/+1 |
|/ | |||||
* | aesfsrgdsr | Simon Rettberg | 2013-11-07 | 1 | -0/+5 |
| | |||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -1/+2 |
| | | | | too often | ||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -2/+12 |
| | | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB | ||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -0/+1 |
| | |||||
* | I'm stupid | Simon Rettberg | 2013-08-05 | 1 | -1/+1 |
| | |||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -1/+1 |
| | |||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -0/+11 |
| | | | | | | 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 | ||||
* | [SERVER] Fix create_image() by adding fallback solutions for fallocate() | Simon Rettberg | 2013-08-01 | 1 | -0/+1 |
| | |||||
* | [SERVER] Add command line options to create empty image of certain size with ↵ | Simon Rettberg | 2013-08-01 | 1 | -1/+8 |
| | | | | empty cache map (so it needs an uplink server) | ||||
* | [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵ | Simon Rettberg | 2013-07-31 | 1 | -1/+2 |
| | | | | yet, so prepare for lots of fixes ;)) | ||||
* | [SERVER] Still working on the uplink... Almost there | sr | 2013-07-26 | 1 | -10/+14 |
| | |||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -0/+1 |
| | |||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -4/+43 |
| | |||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -2/+1 |
| | |||||
* | Add debug-lock functions that will helpt to spot deadlocks etc. while developing | sr | 2013-07-16 | 1 | -0/+2 |
| | |||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -0/+72 |
| | |||||
* | Rewrite in progres.... | sr | 2013-07-09 | 1 | -0/+14 |