summaryrefslogtreecommitdiffstats
path: root/src/server/helper.h
Commit message (Collapse)AuthorAgeFilesLines
* [*] Introduce constants for IPv4/6 in dnbd3_host_tSimon Rettberg2017-10-281-2/+2
| | | | | | | AF_INET luckily was "2" on all platforms checked, so no problems there with interoperation, but AF_INET6 is different between Linux, BSD, Windows and possibly others, so map back and forth between AF_INET/AF_INET6 and HOST_IP4/HOST_IP6 to fix this.
* [SERVER] Move includes from header to source unitSimon Rettberg2017-10-011-2/+0Star
|
* dnbd3server build success on freebsd :)Sebastian2016-02-111-0/+1
|
* cleanup commitsSebastian2016-02-111-1/+1
|
* [SERVER] BREAKING: Get rid of pseudo case-insensitivityv2.1Simon Rettberg2016-02-011-1/+0Star
| | | | | | | | | | This was a wrong decision made long time ago, and it's broken in certain scenarios (eg. two servers serving from same NFS mount). Also it's of limited use anyways since it only supportes ASCII and would ignore umlauts, so blöd and BLÖD would still be considered two different images. So if you relied on this "feature" in any way, be careful when updating.
* [SERVER] Fix a lot of (mostly harmless) data racesSimon Rettberg2016-01-111-1/+1
|
* [SERVER] Remove non-working images from list, plus refactoringSimon Rettberg2015-12-151-1/+1
| | | | | | | | | | Now that we can automatically load unknown images from disk on request, it makes sense to remove non-working images from the image list. On future requests, we will look for them on disk again, which is nice in case of temporary storage hickups. Also, some more ore less related locking has been refined (loading images, replicating images)
* [SERVER] Update includes for moved log.hSimon Rettberg2015-12-021-1/+1
|
* [SERVER] Overhauled loggingSimon Rettberg2015-02-221-2/+2
| | | | | | - Added message type parameter - Log to file and stdout, no more logging in memory - Added options to server.conf to filter which messages show up where
* [SERVER] Dead code removal, minor performance tweaks, refactoring, etc.Simon Rettberg2015-01-021-50/+0Star
|
* [SERVER] Use stdbool.h for booleans; minor refactoring of variable and ↵Simon Rettberg2014-12-311-29/+27Star
| | | | function names
* [SERVER] Refactoring, more debug output, try to check for cyclic proxyingSimon Rettberg2013-10-221-1/+6
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-0/+1
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-4/+0Star
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+1
| | | | improvements and debugging features
* [SERVER] Fix create_image() by adding fallback solutions for fallocate()Simon Rettberg2013-08-011-0/+1
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-2/+2
| | | | empty cache map (so it needs an uplink server)
* [SERVER] Uplink handing complete (untested, as alt servers can't be defined ↵Simon Rettberg2013-07-311-34/+33Star
| | | | yet, so prepare for lots of fixes ;))
* Work in progress: uplinksr2013-07-251-13/+0Star
|
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-1/+2
|
* Rewrite still in progres....sr2013-07-111-0/+4
|
* Rewrite in progres....sr2013-07-091-0/+10
|
* [SERVER] Fix return code for IPC_IMAGE_ADDsr2012-09-251-0/+2
| | | | [SERVER] Check if image exists on IPC_IMAGE_ADD
* [SERVER] Check trust settings before replicating image or adding alt serversr2012-09-191-0/+1
| | | | [SERVER] Close dnbd3 block deviced of proxy images when shutting down
* [SERVER] More work towards automatic server discovery and queryingsr2012-09-041-4/+64
|
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-0/+30
[SERVER] Skeleton of server-to-server communication [SERVER] Update access-time of images in use by actual clients [*] Add dnbd3_host_t type to handle address+port+addrtype consistently across the project