<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dnbd3.git/src/kernel/sysfs.c, branch isfant</title>
<subtitle>Distributed Network Block Device 3 --rewrite for Kernel 3.x</subtitle>
<id>https://git.openslx.org/dnbd3.git/atom/src/kernel/sysfs.c?h=isfant</id>
<link rel='self' href='https://git.openslx.org/dnbd3.git/atom/src/kernel/sysfs.c?h=isfant'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/'/>
<updated>2025-04-15T15:31:20+00:00</updated>
<entry>
<title>[KERNEL] Fix linter complaints</title>
<updated>2025-04-15T15:31:20+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2025-04-15T15:28:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=49d8f67804af3117749623724bfb41384dec3729'/>
<id>urn:sha1:49d8f67804af3117749623724bfb41384dec3729</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Fix compile for 6.11+</title>
<updated>2024-12-11T14:06:50+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2024-12-11T14:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=02b42e07e79e607fea718cb94bc791967b6e17f8'/>
<id>urn:sha1:02b42e07e79e607fea718cb94bc791967b6e17f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Adapt to Linux 5.18</title>
<updated>2022-06-14T15:23:19+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2022-06-14T15:23:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=a59e4a337a82e32612fbc7fdd2e93287b826abf2'/>
<id>urn:sha1:a59e4a337a82e32612fbc7fdd2e93287b826abf2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Refactor to use workqueues and blk-mq only</title>
<updated>2022-02-18T20:34:55+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2022-02-12T22:56:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=eb2876f6542af2bfa47c7a6905ecc4f81f1d2ad3'/>
<id>urn:sha1:eb2876f6542af2bfa47c7a6905ecc4f81f1d2ad3</id>
<content type='text'>
Using workqueues frees us from having to manage the lifecycle
of three dedicated threads. Discovery (alt server checks) and
sending keepalive packets is now done using work on the
power efficient system queue. Sending and receiving happens
via dedicated work queues with higher priority.

blk-mq has also been around for quite a while in the kernel,
so switching to it doesn't hurt backwards compatibility.
As the code is now refactored to work more as blk-mq is designed,
backwards compatibility even improved while at the same time
freeing us from an arsenal of macros that were required to make
the blk-mq port look and feel like the old implementation.
For example, the code now compiles on CentOS 7 with kernel 3.10
without requiring special macros to detect the heavily modified
RedHat kernel with all its backported features.

A few other design limitations have been rectified along the way,
e.g. switching to another server now doesn't internally disconnect
from the current one first, which theoretically could lead to a
non-working setup, if the new server isn't reachable and then -
because of some transient network error - switching back also
fails. As the discover-thread was torn down from the disconnect
call, the connection would also not repair itself eventually.
we now establish the new connection in parallel to the old one,
and only if that succeeds do we replace the old one with it,
similar to how the automatic alt-server switch already does it.
</content>
</entry>
<entry>
<title>[KERNEL] Removes duplicate word 'of' in license headers</title>
<updated>2021-04-16T06:20:06+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2021-04-16T06:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=f7cca217a3696980a72564f57bad4597ddbe9df5'/>
<id>urn:sha1:f7cca217a3696980a72564f57bad4597ddbe9df5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Overhaul sysfs files</title>
<updated>2021-03-26T12:48:24+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2021-03-26T12:48:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=052a248020ac82a2d090537e8986fcf2a37640e5'/>
<id>urn:sha1:052a248020ac82a2d090537e8986fcf2a37640e5</id>
<content type='text'>
Remove superflous, reduntant or otherwise useless
information. Use space as separator instead of comma
for better readability and easier parsing in shell etc.
</content>
</entry>
<entry>
<title>[KERNEL] Use sockaddr instead of dnbd3_host_t where possible</title>
<updated>2021-03-24T15:07:15+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2021-03-24T15:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=c73bc9413da8bc964d82e0a58525c7280cc1a456'/>
<id>urn:sha1:c73bc9413da8bc964d82e0a58525c7280cc1a456</id>
<content type='text'>
Convert dnbd3_host_t to struct sockaddr immediately when
adding alt servers, so we don't have to convert it every time
we establish a connection. Additionally we can now use %pISpc
in printf-like functions instead of having if/else constructs
whenever we want to print an address.
</content>
</entry>
<entry>
<title>[KERNEL] Refactor code to satisfy Linux kernel code style</title>
<updated>2021-03-12T13:52:47+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2021-03-12T13:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=52a4ac3ede9b5bbc8015105d6fd5524c70e9bef5'/>
<id>urn:sha1:52a4ac3ede9b5bbc8015105d6fd5524c70e9bef5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] convert debug messages and clean up code</title>
<updated>2020-08-28T12:50:51+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-08-28T12:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=042b7ca9932f05ed7c69efc7b15fa58e42c6eb3c'/>
<id>urn:sha1:042b7ca9932f05ed7c69efc7b15fa58e42c6eb3c</id>
<content type='text'>
This change converts all debug messages to support the Linux kernel's
dynamic debug feature. Debug messages can be enabled or disabled by
the debug feature if the

  - kernel module is built in debug mode (EXTRA_CFLAGS=-g -DDEBUG)
  - Linux kernel supports dynamic debug (CONFIG_DYNAMIC_DEBUG is set)

This patch removes outdated kernel compatibility macros (used for Linux
kernels in version 4.x) and cleans up the kernel module's code.
</content>
</entry>
<entry>
<title>[*] Introduce constants for IPv4/6 in dnbd3_host_t</title>
<updated>2017-10-28T12:56:58+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2017-10-28T12:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=c8c62246f84b5d9d4a496097f043696e2d9ba0bb'/>
<id>urn:sha1:c8c62246f84b5d9d4a496097f043696e2d9ba0bb</id>
<content type='text'>
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.
</content>
</entry>
</feed>
