Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [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![]() | |
| | ||||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -24/+34 | |
| | ||||||
* | Implement CRC-32 list generation; fix quick CRC-32 check on image loading | sr | 2013-07-23 | 1 | -11/+11 | |
| | ||||||
* | Remove all glib dependencies from server | sr | 2013-07-17 | 1 | -0/+3 | |
| | ||||||
* | Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵ | sr | 2013-07-17 | 1 | -2/+3 | |
| | | | | | | tracked and debugged Fix compilation of kernel module | |||||
* | Add debug-lock functions that will helpt to spot deadlocks etc. while developing | sr | 2013-07-16 | 1 | -3/+5 | |
| | ||||||
* | Fix more bugs, remove debug messages | sr | 2013-07-16 | 1 | -0/+4 | |
| | ||||||
* | "It's compiling!" | sr | 2013-07-15 | 1 | -9/+6![]() | |
| | ||||||
* | Rewriiiiiiiiite | sr | 2013-07-15 | 1 | -224/+177![]() | |
| | ||||||
* | Rewriting..... | sr | 2013-07-13 | 1 | -42/+20![]() | |
| | ||||||
* | Rewrite in progres.... | sr | 2013-07-09 | 1 | -1/+0![]() | |
| | ||||||
* | Rewriting.... | sr | 2013-07-08 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Add IPv6 support (clients and RPC connections) | sr | 2013-01-15 | 1 | -41/+1![]() | |
| | ||||||
* | ... | sr | 2012-12-20 | 1 | -2/+3 | |
| | ||||||
* | [SERVER] Remove unix socket support for RPC interface | sr | 2012-11-07 | 1 | -3/+3 | |
| | | | | [SERVER] Restructure RPC functions, add helpers | |||||
* | [SERVER] Automatically connect a dnbd3 device for a relayed image | sr | 2012-09-09 | 1 | -4/+13 | |
| | | | | | | [SERVER] Automatically disconnect dnbd3 device if local cache copy is complete [SERVER] Pre-allocate disk space for cache file [KERNEL] Refuse connection if server reports disk size < 4096 bytes | |||||
* | ... | sr | 2012-09-05 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Automatically add and remove alt servers from images depending on ↵ | sr | 2012-09-05 | 1 | -2/+6 | |
| | | | | | | wehter the other server is reachable [SERVER] Automatically replicate images from other servers | |||||
* | [SERVER] More work towards automatic server discovery and querying | sr | 2012-09-04 | 1 | -1/+18 | |
| | ||||||
* | [SERVER] Check which dnbd3 devices are idle and ready to use for proxy mode | sr | 2012-09-03 | 1 | -2/+2 | |
| | | | | | | [SERVER] Skeleton of server-to-server communication [SERVER] Update access-time of images in use by actual clients [*] Add dnbd3_host_t type to handle address+port+addrtype consistently across the project | |||||
* | [*] Fixed and unified formatting | sr | 2012-09-03 | 1 | -266/+269 | |
| | ||||||
* | [SERVER] Add list of trusted servers and namespaces (load, display) | sr | 2012-09-02 | 1 | -0/+5 | |
| | ||||||
* | [KERNEL] Fix off-by-one error | sr | 2012-09-01 | 1 | -1/+1 | |
| | ||||||
* | [KERNEL] Tell server whether we're a client or a server in proxy mode | sr | 2012-09-01 | 1 | -3/+5 | |
| | | | | | [KERNEL] SysFS: Return empty string for current_server if not connected [SERVER] Code refactoring | |||||
* | [SERVER] Added soft and hard timeouts for image deletion: reject any new ↵ | sr | 2012-08-31 | 1 | -5/+16 | |
| | | | | | | | clients for an image where the soft timeout has been reached, kill all clients for an image where the hard timeout has been reached and remove it from the server. Check for the hard timeout every five minutes [SERVER] Re-Implement image deletion to work with image names instead of vids [SERVER] Add helper functions to simplify dealing with libxml2 | |||||
* | [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode) | sr | 2012-08-27 | 1 | -19/+19 | |
| | | | | | | | [SERVER] Use MSG_MORE instead of cork/uncork to save two syscalls [KERNEL] Fail-Counter for alt servers, ignore servers that fail too often [KERNEL] Add new alt servers to list, instead of replacing the old list [*] Add CMD_LATEST_RID to tell client about new revisions |