summaryrefslogtreecommitdiffstats
path: root/src/fuse
Commit message (Collapse)AuthorAgeFilesLines
* [FUSE] curl: Handle read callbacks with < 4k buffer sizeSimon Rettberg2024-05-231-2/+12
|
* [FUSE] cow: Fix lowercasing of header fieldSimon Rettberg2024-05-221-1/+1
|
* [FUSE] cow: stats.txt -> statsSimon Rettberg2024-05-152-14/+17
|
* [FUSE] Buffer upload reply contents and conditionally printSimon Rettberg2024-05-152-3/+9
|
* [FUSE] I'M AN IDIOTSimon Rettberg2024-05-131-1/+1
|
* [FUSE] Fix hang when trying to chmod/chown /img or /statusSimon Rettberg2024-05-131-1/+3
| | | | No reply was ever given for unhandled requests. Return EACCES.
* [FUSE] Don't exit on SIGQUIT, just stop uploadingSimon Rettberg2024-05-133-10/+1Star
|
* [FUSE] Fix printf lengthSimon Rettberg2024-05-131-2/+2
|
* [FUSE] CleanupSimon Rettberg2024-05-131-7/+6Star
|
* [FUSE] Reset cluster fail counter on successful uploadSimon Rettberg2024-05-131-0/+1
|
* [FUSE] Fix race conditionSimon Rettberg2024-05-131-1/+5
|
* [FUSE] Fix uninitialized speed bufferSimon Rettberg2024-05-131-1/+1
|
* [FUSE] Fix check for failed statsfile writeSimon Rettberg2024-05-131-1/+1
|
* [FUSE] Fix use-after-free of curl_slist; unify init codeSimon Rettberg2024-05-131-31/+38
|
* [FUSE] Move curl reset to start of functionSimon Rettberg2024-05-131-2/+1Star
|
* [FUSE] Rename version -> revision in /createSimon Rettberg2024-05-132-54/+59
| | | | Also turn into normal POST with urlencoded payload.
* [FUSE] Use CURLOPT_HEADERFUNCTION instead of curl_easy_headerSimon Rettberg2024-05-132-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 fixesSimon Rettberg2024-05-136-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 againSimon Rettberg2024-05-131-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 refactoringSimon Rettberg2024-05-133-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 refactoringSimon Rettberg2024-05-134-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 issueMichael Scherle2024-05-134-16/+14Star
|
* [COWTEST] improvements to cowtest readmeMichael Scherle2024-05-131-13/+14
|
* [FUSE] added pthread creation error messageMichael Scherle2024-05-131-2/+2
|
* added github ci for fuse with cowMichael Scherle2024-05-132-6/+17
|
* [FUSE] basic cow implementation & rudimentary testsMichael Scherle2024-05-1310-70/+2288
|
* [FUSE] Fix termination condition for reading host listSimon Rettberg2023-02-141-1/+1
|
* [FUSE] Make initial connect entirely parallel wrt serversSimon Rettberg2023-02-121-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 accessSimon Rettberg2023-02-121-2/+1Star
|
* [FUSE] Adapt to changed macro namesSimon Rettberg2022-05-201-4/+4
|
* [BUILD] Add check for stdatomic.h supportManuel Bentele2021-06-161-0/+4
|
* [BUILD] Add support in CMake to validate (lint) the source codeManuel Bentele2021-03-041-3/+10
|
* [FUSE] Fix build: Add dnbd3-build to dependenciesSimon Rettberg2020-12-081-1/+1
|
* [BUILD] Include branch and build timestamp in binariesSimon Rettberg2020-12-021-1/+3
|
* [FUSE] removed unnecessary cmdln argument check for sticky modeManuel Bentele2020-10-301-6/+0Star
|
* [BUILD] add build options to enable/disable build of dnbd3 componentsManuel Bentele2020-10-301-0/+2
|
* [CLIENT] add feature to ignore propagated alternative servers (sticky mode)Manuel Bentele2020-10-291-0/+6
|
* [BUILD] remove the build requirement for an unused C++ compilerManuel Bentele2020-10-271-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 CPackManuel Bentele2020-10-222-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 supportManuel Bentele2020-10-201-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 dirtyManuel Bentele2020-10-191-1/+1
|
* [BUILD] fixes issues to build user space programs on FreeBSD 12.1Manuel Bentele2020-10-192-1/+2
|
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-166-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 fileSimon Rettberg2020-07-241-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 measurementSimon Rettberg2020-07-243-15/+8Star
|
* [FUSE] CleanupSimon Rettberg2020-07-242-33/+24Star
|
* [FUSE] Detach old receive thread when creating anew one, update varSimon Rettberg2020-07-241-2/+2
|
* [FUSE] Refactor signal handling on termination againSimon Rettberg2020-07-243-60/+55Star
|
* [FUSE] Fix inode numbersSimon Rettberg2020-07-241-14/+16
|
* [FUSE] Minor cleanup and fixesSimon Rettberg2020-07-211-59/+38Star
|