Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | dnbd3server build success on freebsd :) | Sebastian | 2016-02-11 | 1 | -2/+2 | |
| | ||||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -12/+0 | |
| | ||||||
* | [SHARED] signal.h -> fdsignal.h | Simon Rettberg | 2016-02-10 | 1 | -1/+1 | |
| | ||||||
* | First steps in make signals more abstract from the underlying mechanism; ↵ | Simon Rettberg | 2016-02-05 | 1 | -11/+10 | |
| | | | | | | | | | | replace epoll with poll. We now don't assume that a signal equals a single fd (eventfd on Linux). The next step would be to create a version of signal.c that uses a pipe internally, so it can be used on other platforms, like *BSD. This is also the reason epoll was replaced with poll in uplink.c | |||||
* | [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1 | Simon Rettberg | 2016-02-01 | 1 | -10/+10 | |
| | | | | | | | | | | 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 | -7/+28 | |
| | ||||||
* | [SERVER] Nullpad images virtually at runtime instead of padding the actual file | Simon Rettberg | 2015-12-10 | 1 | -2/+2 | |
| | ||||||
* | [SERVER] Update includes for moved log.h | Simon Rettberg | 2015-12-02 | 1 | -2/+2 | |
| | ||||||
* | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Fix race condition potentially leading to use after release | Simon Rettberg | 2015-11-23 | 1 | -2/+2 | |
| | ||||||
* | [FUSE] Start refactoring so we can handle multithread fuse | Simon Rettberg | 2015-11-21 | 1 | -2/+2 | |
| | ||||||
* | [FUSE] Integrate into cmake build process | Simon Rettberg | 2015-04-24 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Correct debug/error messages in altserver.c | Simon Rettberg | 2015-03-05 | 1 | -7/+7 | |
| | ||||||
* | [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵ | Simon Rettberg | 2015-02-23 | 1 | -1/+2 | |
| | | | | delay feature | |||||
* | [SERVER] Overhauled logging | Simon Rettberg | 2015-02-22 | 1 | -16/+16 | |
| | | | | | | - 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] Crank up warning levels of gcc and fix them all (mostly sign ↵ | Simon Rettberg | 2015-01-14 | 1 | -5/+10 | |
| | | | | | | | 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 | -36/+12 | |
| | | | | handling signals even though we block them | |||||
* | [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵ | Simon Rettberg | 2014-12-31 | 1 | -14/+14 | |
| | | | | function names | |||||
* | [SERVER] Create compilation unit for wait/signalling logic (using eventfd) | Simon Rettberg | 2014-12-31 | 1 | -27/+15 | |
| | ||||||
* | [SERVER] Fix new sendfile handling, wake up uplink thread if server should ↵ | Simon Rettberg | 2014-12-22 | 1 | -0/+2 | |
| | | | | be changed | |||||
* | [SERVER] Improve replication and reconnecting behaviour | Simon Rettberg | 2014-12-22 | 1 | -5/+4 | |
| | ||||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -0/+1 | |
| | | | | 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/+30 | |
| | | | | change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full... | |||||
* | [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txt | Simon Rettberg | 2014-01-09 | 1 | -1/+2 | |
| | | | | | | 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] Remove annoying message about cache maps being saved | Simon Rettberg | 2013-12-06 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Like kernel module, request first block, not random one | Simon Rettberg | 2013-11-17 | 1 | -4/+2 | |
| | ||||||
* | [SERVER] Increase RTT check delay for uplinks that failed too many times to ↵ | Simon Rettberg | 2013-11-13 | 1 | -1/+4 | |
| | | | | save network bandwidth | |||||
* | [SERVER] Shut down altservers finder properly | Simon Rettberg | 2013-11-12 | 1 | -4/+6 | |
| | ||||||
* | [SERVER] Save cache maps every 30 mins | Simon Rettberg | 2013-11-12 | 1 | -0/+9 | |
| | ||||||
* | Merge branch 'simon' of dnbd3:dnbd3 into simon | Simon Rettberg | 2013-11-12 | 1 | -78/+108 | |
|\ | | | | | | | | | Conflicts: src/server/altservers.c | |||||
| * | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -1/+1 | |
| | | ||||||
| * | [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] Add "client only" flag for alt servers | Simon Rettberg | 2013-11-12 | 1 | -4/+8 | |
|/ | ||||||
* | bla | Simon Rettberg | 2013-11-07 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Only mark server as bad on unecpected error | Simon Rettberg | 2013-10-24 | 1 | -7/+6 | |
| | ||||||
* | [SERVER] Refactoring, more debug output, try to check for cyclic proxying | Simon Rettberg | 2013-10-22 | 1 | -5/+5 | |
| | ||||||
* | [SERVER] Block signals on network threads | Simon Rettberg | 2013-09-17 | 1 | -0/+1 | |
| | ||||||
* | [SERVER] Fix generation of alt-server list for client | Simon Rettberg | 2013-09-17 | 1 | -6/+6 | |
| | ||||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -0/+24 | |
| | | | | too often | |||||
* | [SERVER] Remove stupid 1MiB request expansion, this clearly needs to be done ↵ | Simon Rettberg | 2013-08-28 | 1 | -2/+2 | |
| | | | | differently :) | |||||
* | [SERVER] Fix *printf format strings, remove falsely detected errors | Simon Rettberg | 2013-08-28 | 1 | -4/+6 | |
| | ||||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -11/+23 | |
| | | | | | 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 | -35/+34 | |
| | ||||||
* | [SERVER] WIP: On-the-fly image cloning | Simon Rettberg | 2013-08-23 | 1 | -53/+19 | |
| | ||||||
* | [SERVER] (Hopefully) fix starving uplink requests | Simon Rettberg | 2013-08-15 | 1 | -15/+24 | |
| | ||||||
* | Test your coke, dork! | Simon Rettberg | 2013-08-13 | 1 | -3/+6 | |
| | ||||||
* | [SERVER] Fix race condition in uplink request aggregation, other small ↵ | Simon Rettberg | 2013-08-13 | 1 | -0/+1 | |
| | | | | improvements and debugging features | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -5/+12 | |
| | ||||||
* | [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵ | Simon Rettberg | 2013-08-02 | 1 | -4/+4 | |
| | | | | corruption | |||||
* | [SERVER] several improvements | Simon Rettberg | 2013-08-02 | 1 | -1/+30 | |
| | | | | | | 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 |