summaryrefslogtreecommitdiffstats
path: root/src/server/server.c
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Fix possible deadlock through printf usage in signal handlerSimon Rettberg2013-12-101-15/+21
|
* [SERVER] Once again rework locking in uplink and freeing of resources to ↵Simon Rettberg2013-11-151-1/+1
| | | | fight messups when the uplink is shut down
* [SERVER] Create client threads detached instead of detaching them after ↵Simon Rettberg2013-11-141-5/+4Star
| | | | creation to prevent a race condition where a thread dies faster than we can call pthread_detach, which leads to a use-after-free
* [SERVER] Shut down altservers finder properlySimon Rettberg2013-11-121-0/+2
|
* Joey style commitSimon Rettberg2013-11-071-1/+1
|
* [SERVER] Add --bind parameter to specify bind interface (currently IPv4 only)Simon Rettberg2013-11-071-2/+8
|
* [SERVER] Block signals on network threadsSimon Rettberg2013-09-171-1/+2
|
* [SERVER] Typo...Simon Rettberg2013-09-161-1/+1
|
* [SERVER] More debugging, more safety checks, disable alt servers that fail ↵Simon Rettberg2013-09-161-29/+44
| | | | too often
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-2/+11
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* [SERVER] On-the-fly transparent proxyingSimon Rettberg2013-08-261-4/+7
|
* [SERVER] FormattingSimon Rettberg2013-08-191-5/+16
|
* [SERVER] Remove dead codeSimon Rettberg2013-08-151-2/+0Star
|
* Test your coke, dork!Simon Rettberg2013-08-131-2/+0Star
|
* [SERVER] Fix race condition in uplink request aggregation, other small ↵Simon Rettberg2013-08-131-0/+2
| | | | improvements and debugging features
* [SERVER] Improve proxy mode, implement integrity check in proxy modeSimon Rettberg2013-08-121-2/+12
|
* [SERVER] Fix use-after-free, improve cleanupSimon Rettberg2013-08-021-9/+28
|
* [SERVER] Some sanity here and there, minor fixes, trying to track down proxy ↵Simon Rettberg2013-08-021-1/+3
| | | | corruption
* [SERVER] several improvementsSimon Rettberg2013-08-021-6/+0Star
| | | | | | 1) Close uplink if local copy is complete 2) Fix memleak when closing uplink (recv buffer was not cleared) 3) Add configurable artificial delays for client and server connections
* [SERVER] Fix create_image() by adding fallback solutions for fallocate()Simon Rettberg2013-08-011-8/+11
|
* [SERVER] Add command line options to create empty image of certain size with ↵Simon Rettberg2013-08-011-20/+50
| | | | 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-3/+4
| | | | yet, so prepare for lots of fixes ;))
* [SERVER] Still working on the uplink... Almost theresr2013-07-261-1/+11
|
* ...Working on proxy mode...sr2013-07-251-2/+3
|
* Implement CRC-32 list generation; fix quick CRC-32 check on image loadingsr2013-07-231-9/+11
|
* Completely remove glib as dependencysr2013-07-181-3/+1Star
|
* kernel module changessr2013-07-181-5/+10
|
* Remove all glib dependencies from serversr2013-07-171-15/+4Star
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-27/+41
| | | | | | tracked and debugged Fix compilation of kernel module
* Fix more bugs, remove debug messagessr2013-07-161-26/+25Star
|
* Fix bugs from rewrite so it actually workssr2013-07-161-0/+3
|
* "It's compiling!"sr2013-07-151-27/+72
|
* Rewriiiiiiiiitesr2013-07-151-8/+1Star
|
* Rewriting.....sr2013-07-131-2/+3
|
* Rewrite still in progres....sr2013-07-111-133/+115Star
|
* Rewrite in progres....sr2013-07-091-67/+104
|
* Rewriting....sr2013-07-081-28/+35
|
* [SERVER] Add IPv6 support (clients and RPC connections)sr2013-01-151-21/+48
|
* [SERVER] pthread_spin_lock != pthread_spin_unlocksr2013-01-031-1/+0Star
| | | | [SERVER] Implement RPC_DEL_IMG
* [SERVER] Refactor codesr2012-12-191-12/+9Star
| | | | [SERVER] Return List of Alt Servers on RPC_IMG_LIST
* [SERVER] Remove unix socket support for RPC interfacesr2012-11-071-1/+1
| | | | [SERVER] Restructure RPC functions, add helpers
* [SERVER] Check trust settings before replicating image or adding alt serversr2012-09-191-0/+11
| | | | [SERVER] Close dnbd3 block deviced of proxy images when shutting down
* [SERVER] Automatically assign and connect a dnbd3 device to a relayed imagesr2012-09-061-0/+1
|
* make things actually work as promised in last commitsr2012-09-051-0/+5
|
* [SERVER] More work towards automatic server discovery and queryingsr2012-09-041-1/+15
|
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-5/+6
| | | | | | [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
* [*] Fixed and unified formattingsr2012-09-031-202/+203
|
* [SERVER] Add list of trusted servers and namespaces (load, display)sr2012-09-021-8/+1Star
|
* [KERNEL] Tell server whether we're a client or a server in proxy modesr2012-09-011-8/+8
| | | | | [KERNEL] SysFS: Return empty string for current_server if not connected [SERVER] Code refactoring
* [SERVER] Added soft and hard timeouts for image deletion: reject any new ↵sr2012-08-311-10/+21
| | | | | | | clients for an image where the soft timeout has been reached, kill all clients for an image where the hard timeout has been reached and remove it from the server. Check for the hard timeout every five minutes [SERVER] Re-Implement image deletion to work with image names instead of vids [SERVER] Add helper functions to simplify dealing with libxml2