Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [SERVER] Fix status query on big endian | Simon Rettberg | 2017-08-21 | 1 | -4/+7 | |
| | ||||||
* | [SERVER] Fix formatting | Simon Rettberg | 2016-03-22 | 1 | -19/+19 | |
| | ||||||
* | [SERVER] (FreeBSD) Unlock send mutex on sendfile error | Simon Rettberg | 2016-03-22 | 1 | -0/+1 | |
| | ||||||
* | running FreeBSD sendfile | Sebastian | 2016-02-11 | 1 | -13/+36 | |
| | ||||||
* | dnbd3server build success on freebsd :) | Sebastian | 2016-02-11 | 1 | -1/+14 | |
| | ||||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -21/+7 | |
| | ||||||
* | [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 | -12/+21 | |
| | ||||||
* | [SERVER] More fine grained locking for RPC; better error logging | Simon Rettberg | 2015-12-16 | 1 | -31/+35 | |
| | ||||||
* | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 1 | -73/+119 | |
| | | | | | | | | | | 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 | -1/+1 | |
| | ||||||
* | [SERVER] Nullpad images virtually at runtime instead of padding the actual file | Simon Rettberg | 2015-12-10 | 1 | -7/+32 | |
| | ||||||
* | [SERVER] Remove redundant range check | Simon Rettberg | 2015-12-09 | 1 | -8/+0 | |
| | ||||||
* | [SERVER] Use error code constants instead of magic values | Simon Rettberg | 2015-12-07 | 1 | -4/+4 | |
| | ||||||
* | [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 | |
| | ||||||
* | [SERVER] Add image ID for easier handling in RPC, export RID via RPC, make ↵ | Simon Rettberg | 2015-05-08 | 1 | -1/+1 | |
| | | | | names of the byte count fields in RPC consistent | |||||
* | [Server] Added statistics of images and uptime to json. | Stephan Schwaer | 2015-05-05 | 1 | -10/+3 | |
| | ||||||
* | Removed dnbd3_printClients, added clients to statistics json in rpc. | Stephan Schwaer | 2015-05-04 | 1 | -3/+17 | |
| | ||||||
* | [SERVER] PoC RPC interface | schwaers | 2015-04-30 | 1 | -2/+6 | |
| | ||||||
* | [SERVER] Added counters for received and sent bytes. | Stephan Schwaer | 2015-04-27 | 1 | -0/+12 | |
| | ||||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 1 | -3/+0 | |
| | | | | delay feature | |||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -21/+21 | |
| | | | | | | - 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 | -1/+1 | |
| | | | | Some minor debugging code, mostly commented out | |||||
* | [SERVER] Fix bug where checking if a request is cached would yield a false ↵ | Simon Rettberg | 2015-02-19 | 1 | -6/+7 | |
| | | | | negative | |||||
* | [SERVER] Use shared file handle for reading | Simon Rettberg | 2015-01-30 | 1 | -24/+27 | |
| | ||||||
* | [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] Set client connection timeout in client thread | Simon Rettberg | 2015-01-07 | 1 | -0/+2 | |
| | ||||||
* | [SERVER] Get rid of epoll in alservers.c, make valgrind+gdb happy by ↵ | Simon Rettberg | 2015-01-06 | 1 | -1/+2 | |
| | | | | handling signals even though we block them | |||||
* | [SERVER] Big code cleanup, refactoring, minor bugfixing | Simon Rettberg | 2015-01-06 | 1 | -4/+4 | |
| | ||||||
* | [SERVER] Use a thread pool for client connections | Simon Rettberg | 2015-01-05 | 1 | -7/+2 | |
| | ||||||
* | [SERVER] Dead code removal, minor performance tweaks, refactoring, etc. | Simon Rettberg | 2015-01-02 | 1 | -20/+4 | |
| | ||||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -27/+27 | |
| | | | | function names | |||||
* | [SERVER] Minor tweaks and improvements | Simon Rettberg | 2014-12-31 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵ | Simon Rettberg | 2014-12-22 | 1 | -1/+2 | |
| | | | | be changed | |||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -1/+2 | |
| | ||||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -5/+9 | |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | |||||
* | [SERVER] Thread and uplink handling | Simon Rettberg | 2014-02-13 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txt | Simon Rettberg | 2014-01-09 | 1 | -1/+1 | |
| | | | | | | 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] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Block signals on network threads | Simon Rettberg | 2013-09-17 | 1 | -3/+8 | |
| | ||||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -2/+5 | |
| | | | | | 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 | -3/+2 | |
| | ||||||
* | [SERVER] Fix race condition in uplink request aggregation, other small ↵ | Simon Rettberg | 2013-08-13 | 1 | -1/+3 | |
| | | | | improvements and debugging features | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -2/+10 | |
| | ||||||
* | [SERVER] Fix use-after-free, improve cleanup | Simon Rettberg | 2013-08-02 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -1/+2 | |
| | | | | corruption | |||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -2/+9 | |
| | | | | | | 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] 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 | -99/+67 | |
| |