Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | [CLIENT] add feature to ignore propagated alternative servers (sticky mode) | Manuel Bentele | 2020-10-29 | 1 | -0/+6 |
| | |||||
* | [BUILD] add CMake targets to build binary and source packages with CPack | Manuel Bentele | 2020-10-22 | 1 | -1/+1 |
| | | | | | | | | | | | 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] rewrite CMake build system to track changes of source files | Manuel Bentele | 2020-10-16 | 1 | -4/+6 |
| | | | | | | | | | | 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 | 1 | -2/+3 |
| | |||||
* | [FUSE] Cleanup | Simon Rettberg | 2020-07-24 | 1 | -24/+19 |
| | |||||
* | [FUSE] Refactor signal handling on termination again | Simon Rettberg | 2020-07-24 | 1 | -44/+39 |
| | |||||
* | [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 |
| | |||||
* | [FUSE] Properly signal worker threads to exit on shutdown | Simon Rettberg | 2020-07-21 | 1 | -3/+8 |
| | | | | | | Our main signal handler sends SUGHUP to the receiver and background threads, so if they block in some recv() or poll() they will get EINTR and can check keepRunning. | ||||
* | [FUSE] Formatting | Simon Rettberg | 2020-07-21 | 1 | -123/+123 |
| | |||||
* | [FUSE] Fix a bunch of warnings | Simon Rettberg | 2020-07-21 | 1 | -7/+10 |
| | |||||
* | leak fix in main | ln-tech | 2020-01-12 | 1 | -3/+8 |
| | |||||
* | fixed code: removed useless splicing, code optimization, commandline ↵ | ln-tech | 2020-01-08 | 1 | -74/+23 |
| | | | | arguments fixed, auto_cache in lowlevel activated, multi and single threaded modes are supported now | ||||
* | code fixes, keepRunning is back, threads seem to be safe | ln-tech | 2019-11-15 | 1 | -18/+10 |
| | |||||
* | SIGINT fix, Reader-Writer oroblem fix | ln-tech | 2019-11-13 | 1 | -2/+24 |
| | |||||
* | cleaned code | ln-tech | 2019-10-27 | 1 | -160/+11 |
| | |||||
* | cleaned code and atomic_ints against | ln-tech | 2019-10-27 | 1 | -56/+324 |
| | |||||
* | [FUSE] Add --sticky mode to ignore alt-servers announced by servers | Simon Rettberg | 2019-03-07 | 1 | -2/+8 |
| | |||||
* | [FUSE] Clean up argument handling, improve help | Simon Rettberg | 2019-03-07 | 1 | -19/+10 |
| | |||||
* | [FUSE] Return 0 instead of EIO if trying to read past end | Simon Rettberg | 2018-06-13 | 1 | -1/+1 |
| | | | | | read() calls are supposed to return 0 when reading at EOF, so properly mimic that behavior. | ||||
* | [FUSE] Move variables into block where they're being used | Simon Rettberg | 2018-06-13 | 1 | -4/+4 |
| | |||||
* | [SERVER] Option to disable timestamps on stdout/console (default: disabled) | Simon Rettberg | 2018-04-11 | 1 | -0/+1 |
| | |||||
* | [*] Mark logadd() as printf-style function, fix errors that it revealed | Simon Rettberg | 2017-10-31 | 1 | -2/+2 |
| | | | | ...there were quite a few format string errors as it turns out :/ | ||||
* | [FUSE] Cache signalfd instances used in fuse read handler | Simon Rettberg | 2017-10-24 | 1 | -2/+43 |
| | | | | | | Previously, a fresh one was created and destroyed fo every read requests. This caused a lot of syscalls when reading. Now there's a simple cache of currently up to 6 signalfd. | ||||
* | [FUSE] Fix type mismatch warnings | Simon Rettberg | 2017-10-24 | 1 | -8/+15 |
| | |||||
* | compile dnbd3-fuse on FreeBSD without warning :) | Sebastian | 2016-02-11 | 1 | -2/+3 |
| | |||||
* | cleanup commits | Sebastian | 2016-02-11 | 1 | -5/+1 |
| | |||||
* | [SHARED] signal.h -> fdsignal.h | Simon Rettberg | 2016-02-10 | 1 | -1/+1 |
| | |||||
* | First steps in make signals more abstract from the underlying mechanism; ↵ | Simon Rettberg | 2016-02-05 | 1 | -3/+3 |
| | | | | | | | | | | replace epoll with poll. We now don't assume that a signal equals a single fd (eventfd on Linux). The next step would be to create a version of signal.c that uses a pipe internally, so it can be used on other platforms, like *BSD. This is also the reason epoll was replaced with poll in uplink.c | ||||
* | [FUSE] Handle SIGINT/SIGTERM to abort pending reads | Simon Rettberg | 2015-12-17 | 1 | -1/+32 |
| | | | | | | | | | Before, we would wait endlessly if there is a pending read request that doesn't get answered (e.g. because the server went down. That means you couldn't exit the client in that case. Now we use a signal handler to set a flag which causes the read to bail out and return EIO. | ||||
* | [FUSE] Fix forking mode (not passing -f) by not spawning threads before ↵ | Simon Rettberg | 2015-12-16 | 1 | -6/+11 |
| | | | | entering fuse_main | ||||
* | [FUSE] Fix stack overflow caused by stats data | Simon Rettberg | 2015-12-10 | 1 | -3/+5 |
| | |||||
* | [FUSE] Add --log option | Simon Rettberg | 2015-12-03 | 1 | -12/+29 |
| | |||||
* | [FUSE] Try to get caching right | Simon Rettberg | 2015-12-03 | 1 | -2/+3 |
| | |||||
* | [FUSE] Add virtual status file | Simon Rettberg | 2015-12-02 | 1 | -12/+50 |
| | |||||
* | [FUSE] Clean up command line handling | Simon Rettberg | 2015-12-02 | 1 | -37/+93 |
| | |||||
* | [FUSE] Fix losing requests on server change | Simon Rettberg | 2015-12-01 | 1 | -5/+5 |
| | |||||
* | [FUSE] It works! Kinda... | Simon Rettberg | 2015-11-30 | 1 | -163/+40 |
| | |||||
* | [FUSE] Mid-refactoring, does not compile | Simon Rettberg | 2015-11-24 | 1 | -1/+1 |
| | |||||
* | [FUSE] Start refactoring so we can handle multithread fuse | Simon Rettberg | 2015-11-21 | 1 | -1/+1 |
| | |||||
* | [FUSE] Fix compiler warnings, adjust file permissions, change fuse file name ↵ | Simon Rettberg | 2015-04-24 | 1 | -32/+34 |
| | | | | to "img" | ||||
* | [FUSE] Integrate into cmake build process | Simon Rettberg | 2015-04-24 | 1 | -0/+348 |