| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | [BUILD] Add CMake option to enable build of dnbd3-bench | Manuel Bentele | 2021-06-24 | 5 | -2/+8 | |
| | | ||||||
| * | [BUILD] Add support for RockyLinux 8 | Manuel Bentele | 2021-06-22 | 1 | -0/+21 | |
| | | ||||||
| * | [BUILD] Add check for stdatomic.h support | Manuel Bentele | 2021-06-16 | 4 | -0/+23 | |
| | | ||||||
| * | [KERNEL] Add support for Linux kernels without blk-mq (e.g. CentOS 7) | Manuel Bentele | 2021-06-16 | 5 | -20/+259 | |
| | | ||||||
| * | server.conf: Update uplinkTimeout to match default valuev3.10 | Simon Rettberg | 2021-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Add minRequestSize: Enlarge relayed requests | Simon Rettberg | 2021-05-11 | 3 | -16/+48 | |
| | | | | | | | | | | | Any request from a client being relayed to an uplink server will have its size extended to this value. It will also be applied to background replication requests, if the BGR mode is FULL. As request coalescing is currently very primitive, this setting should usually be left diabled, and bgrWindowSize used instead, if appropriate. If you enable this, set it to something large (1M+), or it might have adverse effects. | |||||
| * | [SERVER] Fix UB | Simon Rettberg | 2021-05-11 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Honor uplinkTimeout directly when connecting to alt-server | Simon Rettberg | 2021-05-10 | 2 | -5/+3![]() | |
| | | ||||||
| * | [KERNEL] Improve debug output in net.c | Simon Rettberg | 2021-04-20 | 3 | -7/+13 | |
| | | ||||||
| * | [KERNEL] Even more RTT fakery on manual server switch | Simon Rettberg | 2021-04-20 | 1 | -5/+12 | |
| | | ||||||
| * | [KERNEL] Clean alt-server list first when connecting | Simon Rettberg | 2021-04-16 | 1 | -11/+8![]() | |
| | | | | | | | | When establishing a new connection on a disconnected device, the old list of alt-servers was retained. This would lead to us connecting to the wrong server, as the number of newly passed servers was used when looping over the list of alt-servers to actually connect. | |||||
| * | [KERNEL] Fix Linter errors | Manuel Bentele | 2021-04-16 | 2 | -3/+5 | |
| | | ||||||
| * | [KERNEL] Removes duplicate word 'of' in license headers | Manuel Bentele | 2021-04-16 | 19 | -19/+19 | |
| | | ||||||
| * | [SERVER] Mark uplink requests with BGR/prefetch flags and handle them | Simon Rettberg | 2021-04-14 | 1 | -5/+20 | |
| | | | | | | | | | | Incoming requests from clients might actually be prefetch jobs from another downstream proxy. Don't do prefetching for those, as this would cascade upwars in the proxy chain (prefetch for a prefetch of a prefetch) Incoming requests might also be background replication. Don't relay those if we're not configured for background replication as well. | |||||
| * | [SERVER] Set TCP_NODELAY on outgoing connections | Simon Rettberg | 2021-04-14 | 1 | -1/+4 | |
| | | | | | | | | This will send all (block) requests immediately at sometimes more overhead, but slighly less delays. Since the outgoing connection on a client is only used very lightly, this tradeoff should always make sense. | |||||
| * | [SERVER] Make prefetching synchronous | Simon Rettberg | 2021-04-14 | 4 | -168/+228 | |
| | | | | | | | | | | There is a race condition where we process the next request from the same client faster than the OS will schedule the async prefetch job, rendering it a NOOP in the best case (request ranges match) or fetching redundant data from the upstream server (prefetch range is larger than actual request by client). Make prefetching synchronous to prevent this race condition. | |||||
| * | [CLIENT] Use SO_GETPEERCRED instead of braindead setuid crap | Simon Rettberg | 2021-04-14 | 1 | -56/+69 | |
| | | | | | | | If you need daemon mode, run as root with --daemon, normal users can then request devices to be connected using the same binary WITHOUT havind the suid bit set on it. | |||||
| * | [KERNEL] Deduplicate code, clean up, split into functions | Simon Rettberg | 2021-04-14 | 2 | -402/+339![]() | |
| | | ||||||
| * | [KERNEL] Fix CMD name in debug messages | Simon Rettberg | 2021-04-14 | 1 | -3/+3 | |
| | | ||||||
| * | [KERNEL] Improve socket connect | Simon Rettberg | 2021-03-29 | 1 | -34/+59 | |
| | | | | | | | | | - Remove the ugly timeout hack that apparently isn't required after all. - Set a few socket options that appear to make sense in out use case (no linger, only one SYN retry, NODELAY). - Adapt socket timeout in panic mode, in case we're on a very bad connection. | |||||
| * | [KERNEL] Overhaul sysfs files | Simon Rettberg | 2021-03-26 | 2 | -40/+18![]() | |
| | | | | | | | Remove superflous, reduntant or otherwise useless information. Use space as separator instead of comma for better readability and easier parsing in shell etc. | |||||
| * | [KERNEL] Implement best_count logic for load balancing | Simon Rettberg | 2021-03-26 | 5 | -23/+49 | |
| | | | | | | | | Similar logic already exists in the fuse client: Count how many times in a row a server was fastest when measuring RTTs, and lower the switching threshold more the higher the count gets. | |||||
| * | [KERNEL] Use sockaddr instead of dnbd3_host_t where possible | Simon Rettberg | 2021-03-24 | 6 | -241/+216![]() | |
| | | | | | | | | | Convert dnbd3_host_t to struct sockaddr immediately when adding alt servers, so we don't have to convert it every time we establish a connection. Additionally we can now use %pISpc in printf-like functions instead of having if/else constructs whenever we want to print an address. | |||||
| * | [KERNEL] Set fake low RTT after manual server switch | Simon Rettberg | 2021-03-23 | 2 | -0/+8 | |
| | | | | | | This avoids automatically switching back right after adding and switching to a server. | |||||
| * | [KERNEL] Synchronous add/remove of alt-servers via IOCTL | Simon Rettberg | 2021-03-23 | 4 | -165/+229 | |
| | | ||||||
| * | [SERVER] Fix compiler warning | Simon Rettberg | 2021-03-22 | 1 | -1/+1 | |
| | | ||||||
| * | [BUILD] Fix build issue if version information (Git tag) is missing | Manuel Bentele | 2021-03-17 | 4 | -18/+60 | |
| | | | | | | | | | | | | | The software version for packaging purposes is consituted from the following rules: - If the version information (from Git tags or the embedded version header file) is available, the version number for the packaging is set to those found version information. - If there isn't any version information available (e.g. missing Git tags), the version number for the packaging is set to '0.0' to represent an unkown version number. | |||||
| * | [KERNEL] Enable assertions if CONFIG_DEBUG_DRIVER is set | Manuel Bentele | 2021-03-16 | 1 | -0/+6 | |
| | | ||||||
| * | [KERNEL] Refactor code to satisfy Linux kernel code style | Manuel Bentele | 2021-03-12 | 11 | -621/+535![]() | |
| | | ||||||
| * | [BUILD] Build picohttpparser as independent library | Manuel Bentele | 2021-03-11 | 3 | -15/+15 | |
| | | ||||||
| * | [BUILD] Enable lint targets if lint programs are found | Manuel Bentele | 2021-03-11 | 8 | -59/+663 | |
| | | ||||||
| * | [BUILD] Add Github workflow to validate (lint) source code | Manuel Bentele | 2021-03-05 | 1 | -0/+34 | |
| | | ||||||
| * | [BUILD] Disable lint/formatting for non-kernel for now | Simon Rettberg | 2021-03-05 | 2 | -23/+43 | |
| | | ||||||
| * | [BUILD] Make lint/format optional | Simon Rettberg | 2021-03-05 | 1 | -1/+13 | |
| | | ||||||
| * | [BUILD] Add support in CMake to validate (lint) the source code | Manuel Bentele | 2021-03-04 | 13 | -33/+321 | |
| | | ||||||
| * | [BUILD] Add build support for Github actions | Manuel Bentele | 2021-03-02 | 2 | -1/+66 | |
| | | ||||||
| * | [DOC] replace tabs with whitespaces | Manuel Bentele | 2021-02-10 | 1 | -16/+16 | |
| | | ||||||
| * | [BUILD] add support for AlmaLinux 8 | Manuel Bentele | 2021-02-10 | 1 | -0/+18 | |
| | | ||||||
| * | [BUILD] add support for FreeBSD 12.2 and upcoming 13.x | Manuel Bentele | 2020-12-14 | 1 | -3/+3 | |
| | | ||||||
| * | [BUILD] add support for Linux LTS kernel 5.10.x | Manuel Bentele | 2020-12-14 | 1 | -2/+2 | |
| | | ||||||
| * | [FUSE] Fix build: Add dnbd3-build to dependencies | Simon Rettberg | 2020-12-08 | 1 | -1/+1 | |
| | | ||||||
| * | [BUILD] Fix dnbd3-client build, Fix source-only build | Simon Rettberg | 2020-12-02 | 2 | -2/+2 | |
| | | ||||||
| * | [BUILD] Include branch and build timestamp in binaries | Simon Rettberg | 2020-12-02 | 9 | -14/+29 | |
| | | ||||||
| * | [CLIENT] print help and version number correctly | Manuel Bentele | 2020-12-02 | 1 | -8/+5![]() | |
| | | | | | | | This change prevents the dnbd3-client to print the help text twice if the help parameter is submitted. In addition to that, correct exit codes are set after the help text is printed and the program terminates. | |||||
| * | [SERVER] replaced non-existent FUSE define to match CMake's build defines | Manuel Bentele | 2020-11-27 | 1 | -3/+3 | |
| | | ||||||
| * | [SERVER] Fix warnings | Simon Rettberg | 2020-11-23 | 4 | -7/+9 | |
| | | ||||||
| * | [BUILD] remove automatic search of includes for 'libatomic' | Manuel Bentele | 2020-11-23 | 1 | -10/+2![]() | |
| | | | | | | | This patch removes the automatic search of includes for 'libatomic' since the includes for this library are part of the C11 standard shipped with each compiler. | |||||
| * | [BUILD] update search paths for 'libatomic' to support build on FreeBSD | Manuel Bentele | 2020-11-23 | 3 | -3/+11 | |
| | | ||||||
| * | [BUILD] add CMake find package search to find 'libatomic' automatically | Manuel Bentele | 2020-11-23 | 2 | -0/+53 | |
| | | ||||||
| * | [BUILD] increase minimum CMake version to be compliant with CMake 3.19.x | Manuel Bentele | 2020-11-23 | 1 | -1/+1 | |
| | | ||||||

