summaryrefslogtreecommitdiffstats
path: root/src/fuse/main.c
Commit message (Collapse)AuthorAgeFilesLines
* changed standart behavior to not overwrite cow fileMichael Scherle2018-12-021-24/+13Star
| | | | - in standart cow modus, if an cow file exists it will try to load it, if the given cow file doesn't match with the given image it will exit with an error. - added -z parameter to force an cow file overwrite.
* cleaned up code and added improvementsMichael Scherle2018-11-021-25/+22Star
| | | | | | | | - cleaned up code - using fixed size type variables in file - using types.h fixup macros - replaced write/read with pwrite/pread (except for 2 occurrences) - added create fuse callback
* Fixes and also included the Image merging programmMichael Scherle2018-10-151-22/+37
|
* Initial CommitMichael Scherle2018-10-081-423/+520
|
* [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