summaryrefslogtreecommitdiffstats
path: root/src/server/ipc.c
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Refactor codesr2012-12-191-821/+0Star
| | | | [SERVER] Return List of Alt Servers on RPC_IMG_LIST
* [SERVER] Remove unix socket support for RPC interfacesr2012-11-071-137/+103Star
| | | | [SERVER] Restructure RPC functions, add helpers
* [SERVER] Fix return code for IPC_IMAGE_ADDsr2012-09-251-15/+29
| | | | [SERVER] Check if image exists on IPC_IMAGE_ADD
* [SERVER] IPC: Add calls to add/remove trusted namespaces and serverssr2012-09-191-9/+53
|
* [SERVER] Automatically connect a dnbd3 device for a relayed imagesr2012-09-091-2/+3
| | | | | | [SERVER] Automatically disconnect dnbd3 device if local cache copy is complete [SERVER] Pre-allocate disk space for cache file [KERNEL] Refuse connection if server reports disk size < 4096 bytes
* [SERVER] Automatically add and remove alt servers from images depending on ↵sr2012-09-051-18/+21
| | | | | | wehter the other server is reachable [SERVER] Automatically replicate images from other servers
* [SERVER] More work towards automatic server discovery and queryingsr2012-09-041-68/+11Star
|
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-65/+61Star
| | | | | | [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-11/+16
|
* [SERVER] Add list of trusted servers and namespaces (load, display)sr2012-09-021-38/+115
|
* [KERNEL] Tell server whether we're a client or a server in proxy modesr2012-09-011-11/+21
| | | | | [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-95/+145
| | | | | | | 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
* last minute messup fixedsr2012-08-301-3/+5
|
* [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵sr2012-08-301-314/+529
| | | | | | | | | 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
* [SERVER] Add missing ntohl() calls when parsing replysr2012-08-271-0/+3
|
* [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode)sr2012-08-271-3/+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-39/+52
| | | | | | | | [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, delete imagednbd3-jjl-thesis-finalJohann Latocha2012-07-311-11/+63
| | | | TODO: unlink file
* [SERVER] IPC, some protocol refactoringJohann Latocha2012-07-311-8/+8
|
* [SERVER] Add IPCHeaderJohann Latocha2012-07-301-85/+87
|
* [SERVER] IPC add imageJohann Latocha2012-07-261-7/+79
|
* [SERVER] IPC over TCPJohann Latocha2012-07-251-23/+80
|
* Missing semicolon...Johann Latocha2012-07-241-1/+1
|
* [SERVER] IPC is using xml now. NEW DEPENDENCY: libxml2-devJohann Latocha2012-07-241-35/+136
|
* [SERVER] IPC compatibilityJohann Latocha2012-07-191-34/+27Star
|
* [SERVER] IPC in network byte order bc. of java interfaceJohann Latocha2012-07-191-31/+22Star
|
* [SERVER] Set groupid and permissions on ipc socketJohann Latocha2012-07-181-1/+15
|
* [SERVER] Segfault on conf reload (hopefully!) fixedJohann Latocha2012-02-221-0/+2
|
* [SERVER] Minor bug fixesJohann Latocha2012-02-151-1/+1
|
* [SERVER] Print more statistics (exported images, atime,...)Johann Latocha2012-02-151-5/+29
|
* [SERVER] Spinlocks to freeze threads while reloading configJohann Latocha2012-02-111-2/+0Star
|
* [SERVER] Config reload fixedJohann Latocha2012-02-101-9/+1Star
|
* [SERVER] IPC over unix socketJohann Latocha2012-02-021-0/+179
[SERVER] Print connected clients and used images