summaryrefslogtreecommitdiffstats
path: root/src/kernel/sysfs.c
Commit message (Collapse)AuthorAgeFilesLines
* [*] Introduce constants for IPv4/6 in dnbd3_host_tSimon Rettberg2017-10-281-4/+4
| | | | | | | AF_INET luckily was "2" on all platforms checked, so no problems there with interoperation, but AF_INET6 is different between Linux, BSD, Windows and possibly others, so map back and forth between AF_INET/AF_INET6 and HOST_IP4/HOST_IP6 to fix this.
* [SERVER] Crank up warning levels of gcc and fix them all (mostly sign ↵Simon Rettberg2015-01-141-1/+4
| | | | | | | compare and some unused params) Also allow newline at end of alt-servers file without complaining about it not being a valid alt server definition.
* [SERVER] Check which dnbd3 devices are idle and ready to use for proxy modesr2012-09-031-11/+11
| | | | | | [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-58/+58
|
* fix complile errorsr2012-09-011-1/+2
|
* [KERNEL] Tell server whether we're a client or a server in proxy modesr2012-09-011-1/+3
| | | | | [KERNEL] SysFS: Return empty string for current_server if not connected [SERVER] Code refactoring
* [KERNEL] Refactor and extend sysfs (add data the server will need in proxy mode)sr2012-08-271-75/+62Star
| | | | | | | [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-11/+12
| | | | | | | | [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-15/+0Star
|
* [KERNEL] Notify if new release available (sysfs)Johann Latocha2012-04-201-0/+13
|
* [MISC] Config file updateJohann Latocha2012-02-221-2/+2
|
* [ALL] Bugs, bugs, bugs...Johann Latocha2012-02-221-3/+4
|
* [KERNEL] SysFS interface added (/sys/block/dnbd*/net/)Johann Latocha2012-02-211-0/+212