<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dnbd3.git/src/server/altservers.h, branch isfant</title>
<subtitle>Distributed Network Block Device 3 --rewrite for Kernel 3.x</subtitle>
<id>https://git.openslx.org/dnbd3.git/atom/src/server/altservers.h?h=isfant</id>
<link rel='self' href='https://git.openslx.org/dnbd3.git/atom/src/server/altservers.h?h=isfant'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/'/>
<updated>2020-03-04T16:49:50+00:00</updated>
<entry>
<title>[SERVER] Add timer task for saving cache maps</title>
<updated>2020-03-04T16:49:50+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2020-03-04T16:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=930b65f26cb39687a113641f56711a2d58f886ca'/>
<id>urn:sha1:930b65f26cb39687a113641f56711a2d58f886ca</id>
<content type='text'>
Cache maps will now be saved periodically, but only if either they have
a "dirty" bit set, which happens if any bits in the map get cleared
again (due to corruption), or if new data has been replicated from an
uplink server. This either means at least one byte received and 5
minutes have passed, or at least 500MB have been downloaded. The timer
currently runs every 20 seconds.
</content>
</entry>
<entry>
<title>[SERVER] Support limiting alt-servers to specific namespace</title>
<updated>2019-09-04T18:06:11+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-09-04T18:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=543877c7fc17c0a881d6a85c76dfc17f8def7dff'/>
<id>urn:sha1:543877c7fc17c0a881d6a85c76dfc17f8def7dff</id>
<content type='text'>
Not really namespace but simple string matching for the image path. Path
is matched from start with no support for glob or regex, so usually you
want to have a trailing '/' to limit to certain directories.
</content>
</entry>
<entry>
<title>[SERVER] Fix altservers_getListForClient()</title>
<updated>2019-09-04T17:49:11+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-09-04T17:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=778fb6d2d15d534869461560d80524d74446bb84'/>
<id>urn:sha1:778fb6d2d15d534869461560d80524d74446bb84</id>
<content type='text'>
The score wasn't reset when adding clients to the list, resulting in
exactly one server filling up the whole list.
</content>
</entry>
<entry>
<title>[SERVER] Get rid of alt-servers thread, per-uplink rtt history</title>
<updated>2019-08-22T14:14:27+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-08-22T14:14:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=5fb4ef278be86fb6bda487f65ec4855d830bf4e5'/>
<id>urn:sha1:5fb4ef278be86fb6bda487f65ec4855d830bf4e5</id>
<content type='text'>
Alt-Server checks are now run using the threadpool, so we don't need a
queue and dedicated thread anymore. The rtt history is now kept per
uplink, so many uplinks won't overwhelm the history, making its time
window very short.
Also the fail counter is now split up; a global one for when the server
actually isn't reachable, a local (per-uplink) one for when the server
is reachable but doesn't serve the requested image.
</content>
</entry>
<entry>
<title>[SERVER] uplink: More consistent type/variable naming</title>
<updated>2019-08-18T19:31:56+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2019-08-18T19:31:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=da0950ad342bae3b40a74bf82dba6c1f82e7eb57'/>
<id>urn:sha1:da0950ad342bae3b40a74bf82dba6c1f82e7eb57</id>
<content type='text'>
* Change link to uplink everywhere
* dnbd3_connection_t -&gt; dnbd3_uplink_t
</content>
</entry>
<entry>
<title>[SERVER] rpc: Add q=logfile, q=altservers and q=config to /query</title>
<updated>2017-11-08T15:14:32+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-11-08T15:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=01a2ebb9a402dc4c3f9183d457565685885f6fb9'/>
<id>urn:sha1:01a2ebb9a402dc4c3f9183d457565685885f6fb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] altservers: Tweak, cleanup, refactor, rename</title>
<updated>2017-11-07T23:16:18+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-11-07T23:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=abb54ea3342748b7c4589cd12a821957e1b58238'/>
<id>urn:sha1:abb54ea3342748b7c4589cd12a821957e1b58238</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] Use stdbool.h for booleans; minor refactoring of variable and function names</title>
<updated>2014-12-31T22:39:21+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2014-12-31T22:39:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=6788efa3459b9581b1e4197e37f504d8fb2e8e87'/>
<id>urn:sha1:6788efa3459b9581b1e4197e37f504d8fb2e8e87</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SERVER] Improve replication and reconnecting behaviour</title>
<updated>2014-12-22T18:46:42+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2014-12-22T18:46:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=47c28e25055cfa3c4c37035cc7888d0b87392dc1'/>
<id>urn:sha1:47c28e25055cfa3c4c37035cc7888d0b87392dc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improve uplink handling, add code to debug thread creation/destruction, change stupid convention of freeDiskSpace returning 0 on error, which is ambiguous to the disk simply being full...</title>
<updated>2014-06-16T17:24:17+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2014-06-16T17:24:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=49f9218d330f5842fe24bce79267bd2c5b239df3'/>
<id>urn:sha1:49f9218d330f5842fe24bce79267bd2c5b239df3</id>
<content type='text'>
</content>
</entry>
</feed>
