summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [BUILD] do not print verbose CMake messages in unsupported CMake versionsv2.3Manuel Bentele2020-10-272-16/+7Star
|
* [BUILD] fix broken version header packaging for source packagesManuel Bentele2020-10-273-11/+44
|
* [BUILD] remove the build requirement for an unused C++ compilerManuel Bentele2020-10-2711-12/+20
| | | | | 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.
* Add CMake build requirements check to find libraries and Linux kernel headersManuel Bentele2020-10-274-24/+56
|
* [DOC] Fix URL to the Linux kernel documentation in READMEManuel Bentele2020-10-261-1/+1
|
* [DOC] updated README with general information and build instructionsManuel Bentele2020-10-231-2/+172
|
* [BUILD] fix comments and remove useless code fragments in CMake filesManuel Bentele2020-10-232-8/+7Star
|
* [BUILD] disable build of dnbd3-client if Linux kernel module is disabledManuel Bentele2020-10-221-2/+2
|
* [BUILD] add systemd service file for dnbd3-server to installation targetsManuel Bentele2020-10-228-6/+42
|
* [BUILD] add CMake targets to build binary and source packages with CPackManuel Bentele2020-10-2227-219/+405
| | | | | | | | | | | 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-208-21/+106
| | | | | 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] do not stop Release build if repository is dirty but warnManuel Bentele2020-10-201-4/+9
|
* [BUILD] set build type and stop Release build if repository is dirtyManuel Bentele2020-10-1911-24/+37
|
* [BUILD] build Linux kernel module only on Linux systemsManuel Bentele2020-10-191-18/+20
|
* [BUILD] fixes issues to build user space programs on FreeBSD 12.1Manuel Bentele2020-10-199-22/+17Star
|
* [BUILD] rewrite CMake build system to track changes of source filesManuel Bentele2020-10-1675-494/+542
| | | | | | | | | | 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] turn on compiler optimization to fix warningManuel Bentele2020-10-131-3/+3
| | | | | | | This change enables compiler optimization (-O2) in Release builds to fix the following error warning: _FORTIFY_SOURCE requires compiling with optimization (-O)
* [KERNEL] ported socket time structures to support CentOS 8 kernel 4.18Manuel Bentele2020-10-131-1/+24
| | | | | | | | | This patch implements the old time structures to support Linux kernels prior to version 5.1.x. WARNING: This change to the deprecated time structures does not solve the Y2038 issue. Thus, the dnbd3 Linux kernel module can only run under Linux kernels prior to version 5.1.x until the end of year 2037.
* Remove .vscodeSimon Rettberg2020-09-221-19/+0Star
|
* [KERNEL] set socket timeouts with new function and time structureManuel Bentele2020-08-311-8/+30
| | | | | | | | | | This patch replaces the deprecated kernel_setsockopt() function with the socket generic function sock_setsockopt() to set the send and receive timeout for all used sockets in the kernel module. The timeout data type is choosen according to the available kernel version, so that the dnbd3 kernel module supports the new y2038-problem-solving socket options. With both changes, the kernel module runs on Linux kernel 5.4 LTS and later (including Linux kernel 5.9).
* [KERNEL] make private network functions staticManuel Bentele2020-08-282-294/+286Star
|
* [KERNEL] convert debug messages and clean up codeManuel Bentele2020-08-288-205/+256
| | | | | | | | | | | | This change converts all debug messages to support the Linux kernel's dynamic debug feature. Debug messages can be enabled or disabled by the debug feature if the - kernel module is built in debug mode (EXTRA_CFLAGS=-g -DDEBUG) - Linux kernel supports dynamic debug (CONFIG_DYNAMIC_DEBUG is set) This patch removes outdated kernel compatibility macros (used for Linux kernels in version 4.x) and cleans up the kernel module's code.
* [KERNEL] convert to blk-mq and ktimeManuel Bentele2020-08-275-144/+183
| | | | | | | | | | | This converts the dnbd3 kernel module driver to use the blk-mq infrastructure, which allows the dnbd3 kernel module driver to be compatible with Linux kernels in version 5.x or later. The conversion of the implementation uses one hardware queue to preserve the existing send/receive and load-balancing logic, but can be scaled up in the future. In addition to that, time measurements in the implementation are converted to ktime based accessors to replace the use of deprecated time interfaces.
* cmake: Fixed missing include paths to build the Linux kernel moduleManuel Bentele2020-08-191-1/+1
|
* cmake: Fixed wrong package name in the Fuse find moduleManuel Bentele2020-08-191-2/+2
|
* [SERVER] Fix rid 0 proxy lookup if local version is newerSimon Rettberg2020-08-141-5/+15
| | | | | There was a logic bug that would favor a remotely looked up image rid, even if we already found a higher revision locally.
* [SERVER] FUSE: Set name for fuse theadsSimon Rettberg2020-07-311-0/+2
|
* [SERVER] FUSE: Use splice with move for local readsSimon Rettberg2020-07-311-2/+16
| | | | | | Greatly improves performance when reading from the local disk cache, and additionally avoids having everything in the fs cache twice (disk view and fuse view).
* [SERVER] FUSE: Fix arguments to fuseSimon Rettberg2020-07-302-2/+3
|
* [SERVER] Remove dead codeSimon Rettberg2020-07-301-6/+0Star
|
* [SERVER] Fix: Missing argument to fprintf()Simon Rettberg2020-07-301-1/+1
|
* [SERVER] Inline imageLookup/Open since we use fuse_mtSimon Rettberg2020-07-301-56/+34Star
|
* [SERVER] FUSE: Add readdir for /Simon Rettberg2020-07-301-1/+40
|
* [SERVER] Add FUSE modeSimon Rettberg2020-07-2812-103/+795
| | | | | Still needs some cleanup and optimizations, variable naming sucks, comments, etc.
* Merge branch 'no-working-flag' into fuse_llSimon Rettberg2020-07-2743-2191/+3490
|\
| * [SERVER] Fix: NULL pointer access in saveLoadAllCacheMaps()Simon Rettberg2020-07-211-0/+2
| | | | | | | | Entries in _images array might ne NULL
| * [SERVER] Fix: No replication if autoFreeDiskSpaceDelay is disabledSimon Rettberg2020-06-301-4/+12
| |
| * [SHARED] Fix 16 byte information leakage in select image messageSimon Rettberg2020-06-301-2/+0Star
| |
| * get-version: Fallback to commit hash if git describe failsSimon Rettberg2020-06-161-1/+3
| |
| * [SERVER] Know when to stopSimon Rettberg2020-06-101-1/+1
| |
| * [SERVER] Likewise, flush entire payload on RTT measurementSimon Rettberg2020-06-101-1/+6
| |
| * [SERVER] Fix list walk when removing client from uplinkSimon Rettberg2020-06-101-1/+3
| |
| * [SERVER] fix uninitialized variableSimon Rettberg2020-06-101-1/+1
| |
| * [SERVER] Fix check for RTT block reply sizeSimon Rettberg2020-06-101-1/+1
| |
| * [SERVER] Check local and remote for updates on rid == 0Simon Rettberg2020-03-311-4/+8
| |
| * [BENCH] fix wrong operator precedenceSimon Rettberg2020-03-231-1/+1
| |
| * [SERVER] Make lock/thread debugging dedicated cmake optionSimon Rettberg2020-03-233-11/+19
| |
| * [SHARED] connect_ms might change above, don't checkSimon Rettberg2020-03-231-1/+1
| |
| * [SERVER] image_ensureDiskSpace should only deletes proxied imagesSimon Rettberg2020-03-201-18/+19
| |
| * [SERVER] Remember atime in .meta fileSimon Rettberg2020-03-203-62/+139
| |