Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1 | Simon Rettberg | 2016-02-01 | 1 | -9/+9 |
| | | | | | | | | | | 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 | -10/+28 |
| | |||||
* | [SERVER] Performance: Optimized some functions (gprof) | Simon Rettberg | 2015-12-17 | 1 | -11/+17 |
| | | | | | | | 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] image_markComplete now handles locking so we remove() unlocked | Simon Rettberg | 2015-12-17 | 1 | -8/+6 |
| | |||||
* | [SERVER] More fine grained locking for RPC; better error logging | Simon Rettberg | 2015-12-16 | 1 | -3/+11 |
| | |||||
* | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 1 | -6/+12 |
| | | | | | | | | | | 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] Support looking on disk if an unknown image is requested | Simon Rettberg | 2015-12-12 | 1 | -4/+4 |
| | |||||
* | [SERVER] Nullpad images virtually at runtime instead of padding the actual file | Simon Rettberg | 2015-12-10 | 1 | -5/+5 |
| | |||||
* | [SERVER] Update includes for moved log.h | Simon Rettberg | 2015-12-02 | 1 | -1/+1 |
| | |||||
* | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | [FUSE] Start refactoring so we can handle multithread fuse | Simon Rettberg | 2015-11-21 | 1 | -2/+2 |
| | |||||
* | [SERVER] Fix integer overflow of global bytesReceived getter | Simon Rettberg | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 1 | -9/+3 |
| | |||||
* | Removed dnbd3_printClients, added clients to statistics json in rpc. | Stephan Schwaer | 2015-05-04 | 1 | -3/+17 |
| | |||||
* | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 1 | -1/+18 |
| | |||||
* | [FUSE] Integrate into cmake build process | Simon Rettberg | 2015-04-24 | 1 | -1/+1 |
| | |||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 1 | -3/+3 |
| | | | | delay feature | ||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -32/+32 |
| | | | | | | - 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 | ||||
* | Get rid of unneccessary volatile | Simon Rettberg | 2015-02-22 | 1 | -7/+28 |
| | | | | Some minor debugging code, mostly commented out | ||||
* | [SERVER] Fix two minor bugs: Replication stall, integrity checker 100% CPU usage | Simon Rettberg | 2015-02-04 | 1 | -1/+1 |
| | |||||
* | [SERVER] Implement proper keep alive for uplinks | Simon Rettberg | 2015-01-28 | 1 | -17/+16 |
| | |||||
* | [SERVER] Also fix fd leak if uplink_init fails | Simon Rettberg | 2015-01-27 | 1 | -0/+1 |
| | |||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -18/+26 |
| | | | | condition in uplink_init | ||||
* | [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -2/+2 |
| | | | | | | | 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] Fix stupid bug (not using errno) | Simon Rettberg | 2015-01-13 | 1 | -1/+1 |
| | |||||
* | [SERVER] Refactoring, extending protocol.h | Simon Rettberg | 2015-01-09 | 1 | -22/+13 |
| | |||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -8/+7 |
| | |||||
* | [SERVER] Dead code removal, minor performance tweaks, refactoring, etc. | Simon Rettberg | 2015-01-02 | 1 | -18/+9 |
| | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -39/+34 |
| | | | | function names | ||||
* | [SERVER] Create compilation unit for wait/signalling logic (using eventfd) | Simon Rettberg | 2014-12-31 | 1 | -26/+14 |
| | |||||
* | [SERVER] Add setting to enable/disable background replication, add comments ↵ | Simon Rettberg | 2014-12-29 | 1 | -4/+12 |
| | | | | to config and code | ||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -27/+29 |
| | |||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -15/+22 |
| | | | | 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 | -17/+18 |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | ||||
* | [SERVER] Thread and uplink handling | Simon Rettberg | 2014-02-13 | 1 | -0/+1 |
| | |||||
* | [SERVER] Remove assertion that doesn't really check for an illegal state | Simon Rettberg | 2014-01-13 | 1 | -1/+0 |
| | |||||
* | [SERVER] Once again rework locking in uplink and freeing of resources to ↵ | Simon Rettberg | 2013-11-15 | 1 | -17/+36 |
| | | | | fight messups when the uplink is shut down | ||||
* | [SERVER] Automatic replication of images that are not complete on proxy. ↵ | Simon Rettberg | 2013-11-13 | 1 | -2/+54 |
| | | | | 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 | -9/+11 |
| | | | | save network bandwidth | ||||
* | [SERVER] Refactoring, more debug output, try to check for cyclic proxying | Simon Rettberg | 2013-10-22 | 1 | -0/+9 |
| | |||||
* | [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 | 1 | -0/+1 |
| | |||||
* | [SERVER] Properly decrease uplink.queueLen when removing a client | Simon Rettberg | 2013-09-17 | 1 | -4/+2 |
| | |||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -6/+12 |
| | | | | too often | ||||
* | [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 | 1 | -3/+5 |
| | | | | differently :) | ||||
* | [SERVER] Fix *printf format strings, remove falsely detected errors | Simon Rettberg | 2013-08-28 | 1 | -3/+5 |
| | |||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -16/+46 |
| | | | | | 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 | -34/+42 |
| | |||||
* | [SERVER] (Hopefully) fix starving uplink requests | Simon Rettberg | 2013-08-15 | 1 | -5/+15 |
| |