summaryrefslogtreecommitdiffstats
path: root/src/server/server.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* last minute messup fixedsr2012-08-301-1/+1
|
* [SERVER] Set _FILE_OFFSET_BITS=64 so that images >4GiB will be handled ↵sr2012-08-301-4/+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-2/+17
| | | | | | | [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
* [*] Fix bug in serializer_get_*sr2012-08-251-0/+1
| | | | | | [CLIENT/KERNEL] Change ioctl to handle volume names instead if vids [*] Make protocol endian safe [CLIENT] Display ioctl errorcode on failure
* [*] Cleanup, comments, more error checkssr2012-08-241-31/+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 add imageJohann Latocha2012-07-261-1/+9
|
* [SERVER] IPC over TCPJohann Latocha2012-07-251-0/+2
|
* [SERVER] Cache images on hddJohann Latocha2012-03-061-0/+20
|
* [SERVER] Segfault on conf reload (hopefully!) fixedJohann Latocha2012-02-221-1/+8
|
* [KERNEL] Major bug fixesJohann Latocha2012-02-161-1/+1
|
* [SERVER] Print more statistics (exported images, atime,...)Johann Latocha2012-02-151-3/+3
|
* [SERVER] Memleak fixedJohann Latocha2012-02-151-0/+1
| | | | [KERNEL] Socket swap fixed
* [SERVER] Spinlocks to freeze threads while reloading configJohann Latocha2012-02-111-2/+1Star
|
* [SERVER] Config reload fixedJohann Latocha2012-02-101-4/+2Star
|
* [ALL] RefactoringJohann Latocha2012-02-081-2/+4
| | | | | [ALL] Send and receive servers [TODO] Config file reloading is broken
* [CLIENT] Connecting via config fileJohann Latocha2012-02-031-8/+8
|
* [SERVER] IPC over unix socketJohann Latocha2012-02-021-8/+17
| | | | [SERVER] Print connected clients and used images
* [SERVER] Parsing config file with glibJohann Latocha2012-02-021-4/+6
| | | | | [KERNEL] Bugfixes [CLIENT] Using vid and rid
* [SERVER] Close all client sockets on shutdownJohann Latocha2012-02-011-4/+22
|
* [ALL] Some refactoringJohann Latocha2012-01-311-148/+30Star
|
* [ALL] Reformat (line wrapping, indent)Johann Latocha2012-01-301-205/+202Star
|
* [SERVER] Timeout for client socketsJohann Latocha2012-01-301-0/+14
| | | | [KERNEL] Send keep alive
* [SERVER] Some refactoringJohann Latocha2012-01-301-13/+16
|
* [KERNEL] Change server at runtimeJohann Latocha2012-01-301-3/+2Star
| | | | [SERVER] Build error/warning on x64 fixed
* [SERVER] Reload configuration at runtimeJohann Latocha2012-01-261-31/+65
|
* [KERNEL] Multi device supportJohann Latocha2012-01-251-5/+6
|
* Serving more than one image.Johann Latocha2012-01-241-14/+70
|
* Support files > 4GBJohann Latocha2012-01-201-4/+5
|
* First working version :)Johann Latocha2012-01-191-20/+23
|