summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Hide kernel option on BSD, make kernel dir configurableSimon Rettberg2018-07-061-6/+7
|
* [SERVER] cmake: Add config option for extra compiler opptionsSimon Rettberg2018-07-041-5/+6
|
* [SERVER] Add AFL supportSimon Rettberg2017-10-301-0/+6
| | | | | | | | | | | AFL is an instrumenting fuzzer. It expects to pass input to the program to be tested via command line (file name) or via stdin. This adds support for reading messages that normally would arrive via network directly from stdin. In this mode, the server is pretty useless otherwise. http://lcamtuf.coredump.cx/afl/
* [SERVER] Use picohttpparser from h2oSimon Rettberg2017-10-261-1/+1
| | | | | | | Simple and lean interface, no bloat, noice. Slighly modified to use a simple string struct for passing around strings that are not null terminated, instead of separate char* and length.
* [SERVER] Get rid of zlib dependencySimon Rettberg2017-10-241-9/+3Star
| | | | | | We only used it for CRC-32, so now the source tree includes a stripped down version of the crc32 code from the zlib project.
* cmake: Move sample config to /etc/dnbd3-server aswellSimon Rettberg2017-10-201-2/+2
|
* [SERVER] Install example config to /etc/dnbd3/sampleSimon Rettberg2017-10-191-1/+1
|
* [*] Support hop-counting in request header, protocol version 3Simon Rettberg2017-10-171-4/+4
| | | | | | | | | | | | | | We steal 8 bits from the request offset to count hops when requests get relayed by proxies. This still leaves plenty of bits for the offset (56 bits, supporting images of up to 72 petabytes). This is used to detect proxy cycles. The algorithm is not perfect but should prevent endless relays of the same request. This is backwards compatible to old clients and servers, as the server only ever sets the hopcount in relayed requests if the upstream server is using protocol version 3 or newer, and clients are automatically upwards compatible as there is practically no image larger than 74PB, so the newly introduced hop count field is always 0 even in requests from old clients.
* [cmake] Rewrote handling of individual modules; they now have options to ↵Simon Rettberg2016-07-221-30/+70
| | | | | | turn them on/off Use either cmake -DBUILD_*=ON/OFF, or handle via ccmake's gui
* Don't enable address sanitizer by default in debug mode with clangSimon Rettberg2016-07-221-1/+1
|
* Added rudimentary benchmark tool.Christian Klinger2016-07-151-0/+5
|
* [SERVER] Get rid of .sample for config files (saves you the rename orgy ↵Simon Rettberg2016-03-221-2/+2
| | | | after install)
* cmake: Don't fail setup if more than one server lib is missingJanosch Dobler2016-03-011-3/+3
| | | | | "If Zlib AND Jansson are not found, JANSSON_INCLUDE_DIR is not set to an empty string and cmake configuring fails."
* fix error in version.h inclusionSebastian2016-02-111-1/+10
|
* Cmake tuning; move cfg folderSebastian2016-02-111-35/+46
|
* [SHARED] Implement pipe() based signallingSimon Rettberg2016-02-051-2/+2
|
* [SERVER] Performance: Optimized some functions (gprof)Simon Rettberg2015-12-171-1/+1
| | | | | | | A run with gprof revealed that background replication is a huge CPU hog. The block selection was very slow and has been improved a lot. Minor improvements were made to other functions that scan the cache map of an image and are thus relatively slow.
* [SERVER] image_markComplete now handles locking so we remove() unlockedSimon Rettberg2015-12-171-1/+1
|
* [FUSE] Start refactoring so we can handle multithread fuseSimon Rettberg2015-11-211-3/+3
|
* [SERVER] Fix dependency checks for dnbd3-serverSimon Rettberg2015-05-121-7/+17
|
* [SERVER] PoC RPC interfaceschwaers2015-04-301-3/+4
|
* Fix cmake when missing libsSimon Rettberg2015-04-241-11/+15
|
* [FUSE] Integrate into cmake build processSimon Rettberg2015-04-241-9/+32
|
* Get rid of unneccessary volatileSimon Rettberg2015-02-221-4/+4
| | | | Some minor debugging code, mostly commented out
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-1/+1
| | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition.
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-1/+1
| | | | function names
* [*] Add automatic version string generationv2.0Simon Rettberg2014-01-131-0/+20
|
* [SERVER] Let's try compiler detection againSimon Rettberg2014-01-091-5/+7
|
* [SERVER] Minor fixes, add quick and dirty clang support to CMakeLists.txtSimon Rettberg2014-01-091-2/+9
| | | | | | Use 'CC=/usr/local/bin/clang cmake -D_CMAKE_TOOLCHAIN_PREFIX=llvm- ..' to compile using clang. Requires LLVM 3.1 since AddressSanitizer is used for clang debug builds.
* Refine CMakeLists: Tell cmake it's a C only projectSimon Rettberg2013-11-101-5/+4Star
|
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-0/+3
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-3/+7
|
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-2/+2
|
* Completely remove glib as dependencysr2013-07-181-3/+3
|
* Remove all glib dependencies from serversr2013-07-171-1/+1
|
* "It's compiling!"sr2013-07-151-3/+4
|
* [SERVER] Add IPv6 support (clients and RPC connections)sr2013-01-151-4/+5
|
* [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵sr2012-08-301-0/+1
| | | | | | | | | properly on 32bit [SERVER] Change IPC interface to be able to handle more than 1 request per connection [SERVER] Change IPC interface to use select() so it can handle multiple connections at the same time [SERVER] Re-Implement dnbd3_add_image() to work with image list [SERVER] Add lots of sanity/safety checks and error messages when loading/adding an image
* [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode)sr2012-08-271-2/+2
| | | | | | | [SERVER] Use MSG_MORE instead of cork/uncork to save two syscalls [KERNEL] Fail-Counter for alt servers, ignore servers that fail too often [KERNEL] Add new alt servers to list, instead of replacing the old list [*] Add CMD_LATEST_RID to tell client about new revisions
* [*] Cleanup, comments, more error checkssr2012-08-241-1/+2
| | | | | | | | [SERVER] Fix a few off-by-one bugs [SERVER] Make log available through IPC [KERNEL] Hot-Swap to faster connection on load-balance [KERNEL] Report I/O error to block layer if no server replies within a given time frame [*] Modified network protocol to handle volume names instead of ids
* [SERVER] IPC over TCPJohann Latocha2012-07-251-0/+2
|
* [SERVER] IPC is using xml now. NEW DEPENDENCY: libxml2-devJohann Latocha2012-07-241-2/+3
|
* [SERVER] Set groupid and permissions on ipc socketJohann Latocha2012-07-181-1/+1
|
* [ALL] Some cleanupJohann Latocha2012-05-211-1/+1
|
* [ALL] Warning warn_unused_result removedJohann Latocha2012-05-081-4/+4
|
* Debug => ReleaseJohann Latocha2012-05-011-1/+1
|
* [BUILD] Don't overwrite existing config filesJohann Latocha2012-02-161-1/+1
|
* [CLIENT] Connecting via config fileJohann Latocha2012-02-031-0/+3
|
* [BUILD] Install target addedJohann Latocha2012-02-031-1/+17
|
* [ALL] Some refactoringJohann Latocha2012-01-311-3/+8
|