summaryrefslogtreecommitdiffstats
path: root/src/fuse/main.c
Commit message (Collapse)AuthorAgeFilesLines
* [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
|
* [CLIENT] add feature to ignore propagated alternative servers (sticky mode)Manuel Bentele2020-10-291-0/+6
|
* [BUILD] add CMake targets to build binary and source packages with CPackManuel Bentele2020-10-221-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 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] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-161-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 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-241-2/+3
|
* [FUSE] CleanupSimon Rettberg2020-07-241-24/+19Star
|
* [FUSE] Refactor signal handling on termination againSimon Rettberg2020-07-241-44/+39Star
|
* [FUSE] Fix inode numbersSimon Rettberg2020-07-241-14/+16
|
* [FUSE] Minor cleanup and fixesSimon Rettberg2020-07-211-59/+38Star
|
* [FUSE] Properly signal worker threads to exit on shutdownSimon Rettberg2020-07-211-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] FormattingSimon Rettberg2020-07-211-123/+123
|
* [FUSE] Fix a bunch of warningsSimon Rettberg2020-07-211-7/+10
|
* leak fix in mainln-tech2020-01-121-3/+8
|
* fixed code: removed useless splicing, code optimization, commandline ↵ln-tech2020-01-081-74/+23Star
| | | | arguments fixed, auto_cache in lowlevel activated, multi and single threaded modes are supported now
* code fixes, keepRunning is back, threads seem to be safeln-tech2019-11-151-18/+10Star
|
* SIGINT fix, Reader-Writer oroblem fixln-tech2019-11-131-2/+24
|
* cleaned codeln-tech2019-10-271-160/+11Star
|
* cleaned code and atomic_ints againstln-tech2019-10-271-56/+324
|
* [FUSE] Add --sticky mode to ignore alt-servers announced by serversSimon Rettberg2019-03-071-2/+8
|
* [FUSE] Clean up argument handling, improve helpSimon Rettberg2019-03-071-19/+10Star
|
* [FUSE] Return 0 instead of EIO if trying to read past endSimon Rettberg2018-06-131-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 usedSimon Rettberg2018-06-131-4/+4
|
* [SERVER] Option to disable timestamps on stdout/console (default: disabled)Simon Rettberg2018-04-111-0/+1
|
* [*] Mark logadd() as printf-style function, fix errors that it revealedSimon Rettberg2017-10-311-2/+2
| | | | ...there were quite a few format string errors as it turns out :/
* [FUSE] Cache signalfd instances used in fuse read handlerSimon Rettberg2017-10-241-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 warningsSimon Rettberg2017-10-241-8/+15
|
* compile dnbd3-fuse on FreeBSD without warning :)Sebastian2016-02-111-2/+3
|
* cleanup commitsSebastian2016-02-111-5/+1Star
|
* [SHARED] signal.h -> fdsignal.hSimon Rettberg2016-02-101-1/+1
|
* First steps in make signals more abstract from the underlying mechanism; ↵Simon Rettberg2016-02-051-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 readsSimon Rettberg2015-12-171-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 Rettberg2015-12-161-6/+11
| | | | entering fuse_main
* [FUSE] Fix stack overflow caused by stats dataSimon Rettberg2015-12-101-3/+5
|
* [FUSE] Add --log optionSimon Rettberg2015-12-031-12/+29
|
* [FUSE] Try to get caching rightSimon Rettberg2015-12-031-2/+3
|
* [FUSE] Add virtual status fileSimon Rettberg2015-12-021-12/+50
|
* [FUSE] Clean up command line handlingSimon Rettberg2015-12-021-37/+93
|
* [FUSE] Fix losing requests on server changeSimon Rettberg2015-12-011-5/+5
|
* [FUSE] It works! Kinda...Simon Rettberg2015-11-301-163/+40Star
|
* [FUSE] Mid-refactoring, does not compileSimon Rettberg2015-11-241-1/+1
|
* [FUSE] Start refactoring so we can handle multithread fuseSimon Rettberg2015-11-211-1/+1
|
* [FUSE] Fix compiler warnings, adjust file permissions, change fuse file name ↵Simon Rettberg2015-04-241-32/+34
| | | | to "img"
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-241-0/+348