Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [*] Support hop-counting in request header, protocol version 3 | Simon Rettberg | 2017-10-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | We steal 8 bits from the request offset to count hops when requests get relayed by proxies. This still leaves plenty of bits for the offset (56 bits, supporting images of up to 72 petabytes). This is used to detect proxy cycles. The algorithm is not perfect but should prevent endless relays of the same request. This is backwards compatible to old clients and servers, as the server only ever sets the hopcount in relayed requests if the upstream server is using protocol version 3 or newer, and clients are automatically upwards compatible as there is practically no image larger than 74PB, so the newly introduced hop count field is always 0 even in requests from old clients. | ||||
* | [*] Continue splitting #defines to clientconfig.h etc. | Simon Rettberg | 2017-09-02 | 1 | -31/+0 |
| | |||||
* | [SERVER] Split server-only defs from config.h to serverconfig.h | Simon Rettberg | 2017-08-26 | 1 | -25/+0 |
| | |||||
* | SERVER_MAX_CLIENTS: 400 -> 4000 | konrad | 2016-07-19 | 1 | -1/+1 |
| | |||||
* | [KERNEL/CLIENT] Several minor tweaks and changes | Simon Rettberg | 2016-01-11 | 1 | -1/+2 |
| | | | | | | | | | | - Disable panic timeout that reports errors to block layer by default - Get rid of "is_server" used by old proxy mode, introduce "honor_server_alts" that just controls whether we use alts provided by the server - Allow switching servers when we only have 3 RTT measurements - If using alts provided by server, don't ignore those that come from other servers than the initial one | ||||
* | [SERVER] Remove non-working images from list, plus refactoring | Simon Rettberg | 2015-12-15 | 1 | -2/+2 |
| | | | | | | | | | | 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) | ||||
* | [FUSE] It works! Kinda... | Simon Rettberg | 2015-11-30 | 1 | -0/+1 |
| | |||||
* | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | [SERVER] Fix automatic proxying to use supplied connection; fix race ↵ | Simon Rettberg | 2015-01-27 | 1 | -1/+1 |
| | | | | condition in uplink_init | ||||
* | [SERVER] Configurable client timeout, adaptive replication speed (to be ↵ | Simon Rettberg | 2014-12-22 | 1 | -1/+0 |
| | | | | tested against varying bw/latency), retry sendfile call if ret <= len | ||||
* | [KERNEL] Improved read timeout handling | Simon Rettberg | 2013-12-20 | 1 | -1/+1 |
| | |||||
* | [SERVER] Decrease cache map save interval for now | Simon Rettberg | 2013-11-13 | 1 | -1/+2 |
| | |||||
* | [SERVER] Save cache maps every 30 mins | Simon Rettberg | 2013-11-12 | 1 | -0/+1 |
| | |||||
* | [SERVER] Minor tweaks here and there | Simon Rettberg | 2013-11-10 | 1 | -8/+9 |
| | |||||
* | [KERNEL] Slow down with RTT measurements after 30 seconds | Simon Rettberg | 2013-10-24 | 1 | -2/+4 |
| | | | | | | | Right after connecting, all servers will be polled every 4 seconds for 30 seconds, so we get 7 data points per alt-server. If no better server is found during this time, further RTT measurements will be done every 22 seconds, to put less load on the network in the long run. | ||||
* | [SERVER] More debugging, more safety checks, disable alt servers that fail ↵ | Simon Rettberg | 2013-09-16 | 1 | -1/+4 |
| | | | | too often | ||||
* | [SERVER] Copy CRC-32 list from uplink server if available | Simon Rettberg | 2013-08-28 | 1 | -1/+1 |
| | | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB | ||||
* | [SERVER] WIP: On-the-fly image cloning | Simon Rettberg | 2013-08-23 | 1 | -0/+2 |
| | |||||
* | [SERVER] Improve proxy mode, implement integrity check in proxy mode | Simon Rettberg | 2013-08-12 | 1 | -1/+1 |
| | |||||
* | [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵ | Simon Rettberg | 2013-07-31 | 1 | -6/+7 |
| | | | | yet, so prepare for lots of fixes ;)) | ||||
* | Work in progress: uplink | sr | 2013-07-25 | 1 | -1/+1 |
| | |||||
* | ...Working on proxy mode... | sr | 2013-07-25 | 1 | -0/+9 |
| | |||||
* | Completely remove glib as dependency | sr | 2013-07-18 | 1 | -4/+0 |
| | |||||
* | Rewriting.... | sr | 2013-07-08 | 1 | -1/+8 |
| | |||||
* | [SERVER] Add IPv6 support (clients and RPC connections) | sr | 2013-01-15 | 1 | -1/+2 |
| | |||||
* | [SERVER] Refactor code | sr | 2012-12-19 | 1 | -3/+1 |
| | | | | [SERVER] Return List of Alt Servers on RPC_IMG_LIST | ||||
* | [SERVER] Add list of trusted servers and namespaces (load, display) | sr | 2012-09-02 | 1 | -1/+1 |
| | |||||
* | [KERNEL] Tell server whether we're a client or a server in proxy mode | sr | 2012-09-01 | 1 | -3/+3 |
| | | | | | [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 | -2/+1 |
| | | | | | | | 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 | ||||
* | [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵ | sr | 2012-08-30 | 1 | -1/+1 |
| | | | | | | | | | properly on 32bit [SERVER] Change IPC interface to be able to handle more than 1 request per connection [SERVER] Change IPC interface to use select() so it can handle multiple connections at the same time [SERVER] Re-Implement dnbd3_add_image() to work with image list [SERVER] Add lots of sanity/safety checks and error messages when loading/adding an image | ||||
* | [KERNEL] Add IOCTLs to add and remove servers | sr | 2012-08-28 | 1 | -3/+12 |
| | | | | | [KERNEL] Detect dead idle connection earlier [KERNEL] Improved debug output | ||||
* | [KERNEL] Make rtt threshold relative | sr | 2012-08-25 | 1 | -1/+2 |
| | |||||
* | [*] Cleanup, comments, more error checks | sr | 2012-08-24 | 1 | -5/+22 |
| | | | | | | | | [SERVER] Fix a few off-by-one bugs [SERVER] Make log available through IPC [KERNEL] Hot-Swap to faster connection on load-balance [KERNEL] Report I/O error to block layer if no server replies within a given time frame [*] Modified network protocol to handle volume names instead of ids | ||||
* | [SERVER] IPC over TCP | Johann Latocha | 2012-07-25 | 1 | -0/+1 |
| | |||||
* | [SERVER] Set groupid and permissions on ipc socket | Johann Latocha | 2012-07-18 | 1 | -3/+4 |
| | |||||
* | [KERNEL] RTT bug fixed | Johann Latocha | 2012-05-11 | 1 | -1/+1 |
| | |||||
* | [KERNEL] New RTT thres. | Johann Latocha | 2012-05-11 | 1 | -1/+1 |
| | |||||
* | [KERNEL] rtt measurement improved | Johann Latocha | 2012-05-08 | 1 | -0/+1 |
| | |||||
* | [KERNEL] Read ahead increased | Johann Latocha | 2012-02-23 | 1 | -0/+1 |
| | |||||
* | [ALL] Bugs, bugs, bugs... | Johann Latocha | 2012-02-22 | 1 | -1/+1 |
| | |||||
* | [KERNEL] SysFS interface added (/sys/block/dnbd*/net/) | Johann Latocha | 2012-02-21 | 1 | -1/+1 |
| | |||||
* | [KERNEL] Major bug fixes | Johann Latocha | 2012-02-16 | 1 | -6/+8 |
| | |||||
* | [KERNEL] Switch server on connection lost | Johann Latocha | 2012-02-16 | 1 | -1/+2 |
| | |||||
* | [KERNEL] Kernel panic while server is gone fixed | Johann Latocha | 2012-02-15 | 1 | -1/+2 |
| | |||||
* | [CLIENT] Get host by name | Johann Latocha | 2012-02-09 | 1 | -0/+1 |
| | |||||
* | [ALL] Refactoring | Johann Latocha | 2012-02-08 | 1 | -0/+1 |
| | | | | | [ALL] Send and receive servers [TODO] Config file reloading is broken | ||||
* | [CLIENT] Connecting via config file | Johann Latocha | 2012-02-03 | 1 | -1/+2 |
| | |||||
* | [SERVER] IPC over unix socket | Johann Latocha | 2012-02-02 | 1 | -1/+1 |
| | | | | [SERVER] Print connected clients and used images | ||||
* | [SERVER] Parsing config file with glib | Johann Latocha | 2012-02-02 | 1 | -6/+1 |
| | | | | | [KERNEL] Bugfixes [CLIENT] Using vid and rid | ||||
* | [SERVER] Timeout for client sockets | Johann Latocha | 2012-01-30 | 1 | -0/+2 |
| | | | | [KERNEL] Send keep alive |