Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [BUILD] remove the build requirement for an unused C++ compiler | Manuel Bentele | 2020-10-27 | 11 | -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 headers | Manuel Bentele | 2020-10-27 | 4 | -24/+56 | |
| | ||||||
* | [DOC] Fix URL to the Linux kernel documentation in README | Manuel Bentele | 2020-10-26 | 1 | -1/+1 | |
| | ||||||
* | [DOC] updated README with general information and build instructions | Manuel Bentele | 2020-10-23 | 1 | -2/+172 | |
| | ||||||
* | [BUILD] fix comments and remove useless code fragments in CMake files | Manuel Bentele | 2020-10-23 | 2 | -8/+7 | |
| | ||||||
* | [BUILD] disable build of dnbd3-client if Linux kernel module is disabled | Manuel Bentele | 2020-10-22 | 1 | -2/+2 | |
| | ||||||
* | [BUILD] add systemd service file for dnbd3-server to installation targets | Manuel Bentele | 2020-10-22 | 8 | -6/+42 | |
| | ||||||
* | [BUILD] add CMake targets to build binary and source packages with CPack | Manuel Bentele | 2020-10-22 | 27 | -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 support | Manuel Bentele | 2020-10-20 | 8 | -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 warn | Manuel Bentele | 2020-10-20 | 1 | -4/+9 | |
| | ||||||
* | [BUILD] set build type and stop Release build if repository is dirty | Manuel Bentele | 2020-10-19 | 11 | -24/+37 | |
| | ||||||
* | [BUILD] build Linux kernel module only on Linux systems | Manuel Bentele | 2020-10-19 | 1 | -18/+20 | |
| | ||||||
* | [BUILD] fixes issues to build user space programs on FreeBSD 12.1 | Manuel Bentele | 2020-10-19 | 9 | -22/+17 | |
| | ||||||
* | [BUILD] rewrite CMake build system to track changes of source files | Manuel Bentele | 2020-10-16 | 75 | -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 warning | Manuel Bentele | 2020-10-13 | 1 | -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.18 | Manuel Bentele | 2020-10-13 | 1 | -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 .vscode | Simon Rettberg | 2020-09-22 | 1 | -19/+0 | |
| | ||||||
* | [KERNEL] set socket timeouts with new function and time structure | Manuel Bentele | 2020-08-31 | 1 | -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 static | Manuel Bentele | 2020-08-28 | 2 | -294/+286 | |
| | ||||||
* | [KERNEL] convert debug messages and clean up code | Manuel Bentele | 2020-08-28 | 8 | -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 ktime | Manuel Bentele | 2020-08-27 | 5 | -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 module | Manuel Bentele | 2020-08-19 | 1 | -1/+1 | |
| | ||||||
* | cmake: Fixed wrong package name in the Fuse find module | Manuel Bentele | 2020-08-19 | 1 | -2/+2 | |
| | ||||||
* | [SERVER] Fix rid 0 proxy lookup if local version is newer | Simon Rettberg | 2020-08-14 | 1 | -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 theads | Simon Rettberg | 2020-07-31 | 1 | -0/+2 | |
| | ||||||
* | [SERVER] FUSE: Use splice with move for local reads | Simon Rettberg | 2020-07-31 | 1 | -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 fuse | Simon Rettberg | 2020-07-30 | 2 | -2/+3 | |
| | ||||||
* | [SERVER] Remove dead code | Simon Rettberg | 2020-07-30 | 1 | -6/+0 | |
| | ||||||
* | [SERVER] Fix: Missing argument to fprintf() | Simon Rettberg | 2020-07-30 | 1 | -1/+1 | |
| | ||||||
* | [SERVER] Inline imageLookup/Open since we use fuse_mt | Simon Rettberg | 2020-07-30 | 1 | -56/+34 | |
| | ||||||
* | [SERVER] FUSE: Add readdir for / | Simon Rettberg | 2020-07-30 | 1 | -1/+40 | |
| | ||||||
* | [SERVER] Add FUSE mode | Simon Rettberg | 2020-07-28 | 12 | -103/+795 | |
| | | | | | Still needs some cleanup and optimizations, variable naming sucks, comments, etc. | |||||
* | Merge branch 'no-working-flag' into fuse_ll | Simon Rettberg | 2020-07-27 | 43 | -2191/+3490 | |
|\ | ||||||
| * | [SERVER] Fix: NULL pointer access in saveLoadAllCacheMaps() | Simon Rettberg | 2020-07-21 | 1 | -0/+2 | |
| | | | | | | | | Entries in _images array might ne NULL | |||||
| * | [SERVER] Fix: No replication if autoFreeDiskSpaceDelay is disabled | Simon Rettberg | 2020-06-30 | 1 | -4/+12 | |
| | | ||||||
| * | [SHARED] Fix 16 byte information leakage in select image message | Simon Rettberg | 2020-06-30 | 1 | -2/+0 | |
| | | ||||||
| * | get-version: Fallback to commit hash if git describe fails | Simon Rettberg | 2020-06-16 | 1 | -1/+3 | |
| | | ||||||
| * | [SERVER] Know when to stop | Simon Rettberg | 2020-06-10 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Likewise, flush entire payload on RTT measurement | Simon Rettberg | 2020-06-10 | 1 | -1/+6 | |
| | | ||||||
| * | [SERVER] Fix list walk when removing client from uplink | Simon Rettberg | 2020-06-10 | 1 | -1/+3 | |
| | | ||||||
| * | [SERVER] fix uninitialized variable | Simon Rettberg | 2020-06-10 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Fix check for RTT block reply size | Simon Rettberg | 2020-06-10 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Check local and remote for updates on rid == 0 | Simon Rettberg | 2020-03-31 | 1 | -4/+8 | |
| | | ||||||
| * | [BENCH] fix wrong operator precedence | Simon Rettberg | 2020-03-23 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] Make lock/thread debugging dedicated cmake option | Simon Rettberg | 2020-03-23 | 3 | -11/+19 | |
| | | ||||||
| * | [SHARED] connect_ms might change above, don't check | Simon Rettberg | 2020-03-23 | 1 | -1/+1 | |
| | | ||||||
| * | [SERVER] image_ensureDiskSpace should only deletes proxied images | Simon Rettberg | 2020-03-20 | 1 | -18/+19 | |
| | | ||||||
| * | [SERVER] Remember atime in .meta file | Simon Rettberg | 2020-03-20 | 3 | -62/+139 | |
| | | ||||||
| * | [SERVER] Forbid hidden files when scanning image dir | Simon Rettberg | 2020-03-20 | 1 | -1/+2 | |
| | | ||||||
| * | [SERVER] Fix warnings, add assertions | Simon Rettberg | 2020-03-20 | 3 | -9/+15 | |
| | |