| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [FUSE] curl: Handle read callbacks with < 4k buffer size | Simon Rettberg | 2024-05-23 | 1 | -2/+12 |
| | | |||||
| * | [FUSE] cow: Fix lowercasing of header field | Simon Rettberg | 2024-05-22 | 1 | -1/+1 |
| | | |||||
| * | [FUSE] cow: stats.txt -> stats | Simon Rettberg | 2024-05-15 | 2 | -14/+17 |
| | | |||||
| * | [FUSE] Buffer upload reply contents and conditionally print | Simon Rettberg | 2024-05-15 | 2 | -3/+9 |
| | | |||||
| * | [FUSE] I'M AN IDIOT | Simon Rettberg | 2024-05-13 | 1 | -1/+1 |
| | | |||||
| * | [FUSE] Fix hang when trying to chmod/chown /img or /status | Simon Rettberg | 2024-05-13 | 1 | -1/+3 |
| | | | | | No reply was ever given for unhandled requests. Return EACCES. | ||||
| * | [FUSE] Don't exit on SIGQUIT, just stop uploading | Simon Rettberg | 2024-05-13 | 3 | -10/+1![]() |
| | | |||||
| * | [FUSE] Fix printf length | Simon Rettberg | 2024-05-13 | 1 | -2/+2 |
| | | |||||
| * | [FUSE] Cleanup | Simon Rettberg | 2024-05-13 | 1 | -7/+6![]() |
| | | |||||
| * | [FUSE] Reset cluster fail counter on successful upload | Simon Rettberg | 2024-05-13 | 1 | -0/+1 |
| | | |||||
| * | [FUSE] Fix race condition | Simon Rettberg | 2024-05-13 | 1 | -1/+5 |
| | | |||||
| * | [FUSE] Fix uninitialized speed buffer | Simon Rettberg | 2024-05-13 | 1 | -1/+1 |
| | | |||||
| * | [FUSE] Fix check for failed statsfile write | Simon Rettberg | 2024-05-13 | 1 | -1/+1 |
| | | |||||
| * | [FUSE] Fix use-after-free of curl_slist; unify init code | Simon Rettberg | 2024-05-13 | 1 | -31/+38 |
| | | |||||
| * | [FUSE] Move curl reset to start of function | Simon Rettberg | 2024-05-13 | 1 | -2/+1![]() |
| | | |||||
| * | [FUSE] Rename version -> revision in /create | Simon Rettberg | 2024-05-13 | 2 | -54/+59 |
| | | | | | Also turn into normal POST with urlencoded payload. | ||||
| * | [FUSE] Use CURLOPT_HEADERFUNCTION instead of curl_easy_header | Simon Rettberg | 2024-05-13 | 2 | -23/+49 |
| | | | | | | curl_easy_header was introduced in 7.83, so not even available in Ubuntu 22.04. Switch to manual header parsing. | ||||
| * | [FUSE] More cleanup and minor fixes | Simon Rettberg | 2024-05-13 | 6 | -288/+395 |
| | | | | | | | | | - Add support for aborting session and further uploads via SIGQUIT - Make API versioned - Change it to "uuid" everywhere instead of a mix of uuid and guid - Server can now tell us to wait with further uploads - merge request is now urlencoded POST instead of mime data | ||||
| * | [FUSE] Rename COW API endpoints again | Simon Rettberg | 2024-05-13 | 1 | -10/+15 |
| | | | | | | Add a version to the URL, rest can be configured dynamically by -C as it's a simple prefix. | ||||
| * | [FUSE] cow: More fixes and refactoring | Simon Rettberg | 2024-05-13 | 3 | -474/+523 |
| | | | | | | | | | | | | | | | Don't allocate a data cluster in data file for empty l2 entries when resizing the image file. Calculating l2 offset in metadata file was broken and overlapping l1. Delete unneeded entries from cow struct. Rename a few more variables. Fix a few possible race conditions. Only upload modified blocks from cluster. Simplify cow_write() function by handling misaligned start/end first. Try to also simplify cow_read() a bit. TODO: Documentation, update the cow merger service. | ||||
| * | [FUSE] cow: Cleanup, comments, fixes, minor refactoring | Simon Rettberg | 2024-05-13 | 4 | -395/+472 |
| | | | | | | | | | | - Use the term "cluster" for a group of dnbd3-blocks instead of also calling them blocks. - Use term "table" instead of "array" for the L1 and L2 tables. - Use term "index" instead of "offset" when addressing those tables - Fix a few logic bugs, use-after-free - Add TODOs for parts that need better comments | ||||
| * | [FUSE] Fixed cow daemon issue | Michael Scherle | 2024-05-13 | 4 | -16/+14![]() |
| | | |||||
| * | [COWTEST] improvements to cowtest readme | Michael Scherle | 2024-05-13 | 1 | -13/+14 |
| | | |||||
| * | [FUSE] added pthread creation error message | Michael Scherle | 2024-05-13 | 1 | -2/+2 |
| | | |||||
| * | added github ci for fuse with cow | Michael Scherle | 2024-05-13 | 2 | -6/+17 |
| | | |||||
| * | [FUSE] basic cow implementation & rudimentary tests | Michael Scherle | 2024-05-13 | 10 | -70/+2288 |
| | | |||||
| * | [FUSE] Fix termination condition for reading host list | Simon Rettberg | 2023-02-14 | 1 | -1/+1 |
| | | |||||
| * | [FUSE] Make initial connect entirely parallel wrt servers | Simon Rettberg | 2023-02-12 | 1 | -111/+232 |
| | | | | | | | | | | | | | Previously, we only did the actual socket connect in a concurrent matter. Once a connection was successfully established, we did a blocking handshake on the protocol level. If the server war particularly slow, this was bad as we would not try other servers until after this. Throw out the previous non-blocking async connect logic, switching to a multi-threaded approach, that spawns one thread per host/ip, offset by 200ms, until one of the attempts succeeds. | ||||
| * | [FUSE] Fix AIOOB access | Simon Rettberg | 2023-02-12 | 1 | -2/+1![]() |
| | | |||||
| * | [FUSE] Adapt to changed macro names | Simon Rettberg | 2022-05-20 | 1 | -4/+4 |
| | | |||||
| * | [BUILD] Add check for stdatomic.h support | Manuel Bentele | 2021-06-16 | 1 | -0/+4 |
| | | |||||
| * | [BUILD] Add support in CMake to validate (lint) the source code | Manuel Bentele | 2021-03-04 | 1 | -3/+10 |
| | | |||||
| * | [FUSE] Fix build: Add dnbd3-build to dependencies | Simon Rettberg | 2020-12-08 | 1 | -1/+1 |
| | | |||||
| * | [BUILD] Include branch and build timestamp in binaries | Simon Rettberg | 2020-12-02 | 1 | -1/+3 |
| | | |||||
| * | [FUSE] removed unnecessary cmdln argument check for sticky mode | Manuel Bentele | 2020-10-30 | 1 | -6/+0![]() |
| | | |||||
| * | [BUILD] add build options to enable/disable build of dnbd3 components | Manuel Bentele | 2020-10-30 | 1 | -0/+2 |
| | | |||||
| * | [CLIENT] add feature to ignore propagated alternative servers (sticky mode) | Manuel Bentele | 2020-10-29 | 1 | -0/+6 |
| | | |||||
| * | [BUILD] remove the build requirement for an unused C++ compiler | Manuel Bentele | 2020-10-27 | 1 | -1/+2 |
| | | | | | | This patch sets the programming languages of each CMake project to C. With this change, CMake does not search for an unused C++ compiler anymore. | ||||
| * | [BUILD] add CMake targets to build binary and source packages with CPack | Manuel Bentele | 2020-10-22 | 2 | -2/+3 |
| | | | | | | | | | | | | This patch adds the following CMake targets - package - source to build bundeled packages. Those packages contain either all built binary artifacts or all source files for source code distribution. Both CMake targets are available in Release build configuration. | ||||
| * | [BUILD] add option to build the dnbd3-server with afl-fuzz support | Manuel Bentele | 2020-10-20 | 1 | -0/+2 |
| | | | | | | The afl-fuzz support for the dnbd3-server requires an AFL C compiler like afl-gcc and can be enabled with the CMake option DNBD3_SERVER_AFL. | ||||
| * | [BUILD] set build type and stop Release build if repository is dirty | Manuel Bentele | 2020-10-19 | 1 | -1/+1 |
| | | |||||
| * | [BUILD] fixes issues to build user space programs on FreeBSD 12.1 | Manuel Bentele | 2020-10-19 | 2 | -1/+2 |
| | | |||||
| * | [BUILD] rewrite CMake build system to track changes of source files | Manuel Bentele | 2020-10-16 | 6 | -17/+28 |
| | | | | | | | | | | | This change restructures the source code directories, separates shared form non-shared application code and adds CMake dependencies. These dependencies allow the tracking of changes and trigger a rebuild of those build targets where changed files are involved. WARNING: Note that the support of the DNBD3_SERVER_AFL build option is not supported yet. Thus, the option should be never turned on. | ||||
| * | [FUSE] Tweak timeout values to prevent stale status file | Simon Rettberg | 2020-07-24 | 1 | -3/+3 |
| | | | | | | | | If we cat the stats file right after starting the fuse client, its contents will be cached forever. The exact cause is unknown, since the timeout was specified as one second, but setting it to 0 seems to fix this issue. | ||||
| * | [FUSE] Fix returning pending request on RTT measurement | Simon Rettberg | 2020-07-24 | 3 | -15/+8![]() |
| | | |||||
| * | [FUSE] Cleanup | Simon Rettberg | 2020-07-24 | 2 | -33/+24![]() |
| | | |||||
| * | [FUSE] Detach old receive thread when creating anew one, update var | Simon Rettberg | 2020-07-24 | 1 | -2/+2 |
| | | |||||
| * | [FUSE] Refactor signal handling on termination again | Simon Rettberg | 2020-07-24 | 3 | -60/+55![]() |
| | | |||||
| * | [FUSE] Fix inode numbers | Simon Rettberg | 2020-07-24 | 1 | -14/+16 |
| | | |||||
| * | [FUSE] Minor cleanup and fixes | Simon Rettberg | 2020-07-21 | 1 | -59/+38![]() |
| | | |||||

