summaryrefslogtreecommitdiffstats
path: root/src/server/net.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove all glib dependencies from serversr2013-07-171-0/+3
|
* Replace all pthread_spin_* calls with spin_*, so that all locking can be ↵sr2013-07-171-2/+3
| | | | | | tracked and debugged Fix compilation of kernel module
* Add debug-lock functions that will helpt to spot deadlocks etc. while developingsr2013-07-161-3/+5
|
* Fix more bugs, remove debug messagessr2013-07-161-0/+4
|
* "It's compiling!"sr2013-07-151-9/+6Star
|
* Rewriiiiiiiiitesr2013-07-151-224/+177Star
|
* Rewriting.....sr2013-07-131-42/+20Star
|
* Rewrite in progres....sr2013-07-091-1/+0Star
|
* Rewriting....sr2013-07-081-1/+1
|
* [SERVER] Add IPv6 support (clients and RPC connections)sr2013-01-151-41/+1Star
|
* ...sr2012-12-201-2/+3
|
* [SERVER] Remove unix socket support for RPC interfacesr2012-11-071-3/+3
| | | | [SERVER] Restructure RPC functions, add helpers
* [SERVER] Automatically connect a dnbd3 device for a relayed imagesr2012-09-091-4/+13
| | | | | | [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
* ...sr2012-09-051-1/+1
|
* [SERVER] Automatically add and remove alt servers from images depending on ↵sr2012-09-051-2/+6
| | | | | | wehter the other server is reachable [SERVER] Automatically replicate images from other servers
* [SERVER] More work towards automatic server discovery and queryingsr2012-09-041-1/+18
|
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-2/+2
| | | | | | [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-266/+269
|
* [SERVER] Add list of trusted servers and namespaces (load, display)sr2012-09-021-0/+5
|
* [KERNEL] Fix off-by-one errorsr2012-09-011-1/+1
|
* [KERNEL] Tell server whether we're a client or a server in proxy modesr2012-09-011-3/+5
| | | | | [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-5/+16
| | | | | | | 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
* [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode)sr2012-08-271-19/+19
| | | | | | | [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
* [KERNEL] Only update alt-server list if received from initial serversr2012-08-251-1/+11
| | | | [*] Add CMD_KEEPALIVE protocol message type
* [KERNEL] Make it possible to receive push messages by the serversr2012-08-251-5/+6
|
* [*] Fix bug in serializer_get_*sr2012-08-251-2/+5
| | | | | | [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-80/+234
| | | | | | | | [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
* [ALL] Some cleanupJohann Latocha2012-05-211-1/+5
|
* [KERNEL] Notify if new release available (sysfs)Johann Latocha2012-04-201-1/+1
|
* [SERVER] tcp-corkJohann Latocha2012-04-111-0/+7
|
* [SERVER] Cache improvedJohann Latocha2012-04-111-8/+55
|
* [SERVER] Cache images on hddJohann Latocha2012-03-061-3/+34
|
* [ALL] Bugs, bugs, bugs...Johann Latocha2012-02-221-31/+30Star
|
* [SERVER] Segfault on conf reload (hopefully!) fixedJohann Latocha2012-02-221-15/+14Star
|
* [ALL] Send proper ridJohann Latocha2012-02-211-0/+2
|
* [KERNEL] Major bug fixesJohann Latocha2012-02-161-3/+3
|
* [BUILD] Don't overwrite existing config filesJohann Latocha2012-02-161-1/+1
|
* [SERVER] Minor bug fixesJohann Latocha2012-02-151-1/+1
|
* [SERVER] Print more statistics (exported images, atime,...)Johann Latocha2012-02-151-0/+3
|
* [SERVER] Spinlocks to freeze threads while reloading configJohann Latocha2012-02-111-6/+5Star
|
* [SERVER] Config reload fixedJohann Latocha2012-02-101-16/+29
|
* [ALL] RefactoringJohann Latocha2012-02-081-12/+28
| | | | | [ALL] Send and receive servers [TODO] Config file reloading is broken
* [SERVER] IPC over unix socketJohann Latocha2012-02-021-0/+1
| | | | [SERVER] Print connected clients and used images
* [SERVER] Parsing config file with glibJohann Latocha2012-02-021-11/+8Star
| | | | | [KERNEL] Bugfixes [CLIENT] Using vid and rid
* [SERVER] Close all client sockets on shutdownJohann Latocha2012-02-011-9/+12
|
* [ALL] Some refactoringJohann Latocha2012-01-311-0/+133