summaryrefslogtreecommitdiffstats
path: root/src/server/server.h
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Use monotonic clock for measuring timeSimon Rettberg2017-10-191-1/+1
| | | | | Introduces new shared source unit timing.[ch] Closes #3214
* [SERVER] Refactor: Move client list to net.* and isolateSimon Rettberg2017-09-071-12/+0Star
|
* [SERVER] Split server-only defs from config.h to serverconfig.hSimon Rettberg2017-08-261-2/+1Star
|
* cleanup commitsSebastian2016-02-111-4/+4
|
* [SERVER] printf -> logadd, make USR2 trigger a log cycle, remove old fake ↵Simon Rettberg2015-02-231-4/+0Star
| | | | delay feature
* [SERVER] Big code cleanup, refactoring, minor bugfixingSimon Rettberg2015-01-061-3/+3
|
* [SERVER] Copy CRC-32 list from uplink server if availableSimon Rettberg2013-08-281-2/+1Star
| | | | | Split up helper.c, move file/disk related functions to fileutil.c Uplink: Make sure relayed requests are at least 1MiB
* Completely remove glib as dependencysr2013-07-181-1/+1
|
* Remove all glib dependencies from serversr2013-07-171-1/+0Star
|
* Fix more bugs, remove debug messagessr2013-07-161-0/+1
|
* "It's compiling!"sr2013-07-151-39/+2Star
|
* Rewriiiiiiiiitesr2013-07-151-8/+0Star
|
* Rewrite still in progres....sr2013-07-111-26/+1Star
|
* Rewrite in progres....sr2013-07-091-10/+14
|
* Rewriting....sr2013-07-081-23/+39
|
* [SERVER] pthread_spin_lock != pthread_spin_unlocksr2013-01-031-1/+1
| | | | [SERVER] Implement RPC_DEL_IMG
* [SERVER] Refactor codesr2012-12-191-1/+1
| | | | [SERVER] Return List of Alt Servers on RPC_IMG_LIST
* [SERVER] Automatically assign and connect a dnbd3 device to a relayed imagesr2012-09-061-1/+1
|
* [SERVER] More work towards automatic server discovery and queryingsr2012-09-041-1/+14
|
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-26/+15Star
| | | | | | [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-17/+17
|
* [SERVER] Add list of trusted servers and namespaces (load, display)sr2012-09-021-0/+17
|
* [KERNEL] Tell server whether we're a client or a server in proxy modesr2012-09-011-1/+12
| | | | | [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-3/+5
| | | | | | | 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
* [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵sr2012-08-301-3/+7
| | | | | | | | | 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-0/+5
| | | | | | | [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-17/+15Star
| | | | | | | | [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 add imageJohann Latocha2012-07-261-0/+2
|
* [SERVER] Cache images on hddJohann Latocha2012-03-061-0/+2
|
* [SERVER] Segfault on conf reload (hopefully!) fixedJohann Latocha2012-02-221-0/+1
|
* [SERVER] Print more statistics (exported images, atime,...)Johann Latocha2012-02-151-0/+1
|
* [SERVER] Spinlocks to freeze threads while reloading configJohann Latocha2012-02-111-1/+1
|
* [ALL] RefactoringJohann Latocha2012-02-081-2/+2
| | | | | [ALL] Send and receive servers [TODO] Config file reloading is broken
* [SERVER] IPC over unix socketJohann Latocha2012-02-021-8/+8
| | | | [SERVER] Print connected clients and used images
* [SERVER] Parsing config file with glibJohann Latocha2012-02-021-2/+16
| | | | | [KERNEL] Bugfixes [CLIENT] Using vid and rid
* [SERVER] Close all client sockets on shutdownJohann Latocha2012-02-011-0/+9
|
* [ALL] Some refactoringJohann Latocha2012-01-311-0/+34