<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dnbd3.git/src/kernel/net.c, branch v2.3</title>
<subtitle>Distributed Network Block Device 3 --rewrite for Kernel 3.x</subtitle>
<id>https://git.openslx.org/dnbd3.git/atom/src/kernel/net.c?h=v2.3</id>
<link rel='self' href='https://git.openslx.org/dnbd3.git/atom/src/kernel/net.c?h=v2.3'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/'/>
<updated>2020-10-16T15:15:49+00:00</updated>
<entry>
<title>[BUILD] rewrite CMake build system to track changes of source files</title>
<updated>2020-10-16T15:15:49+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-10-16T15:15:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=969496f15e1e0359e26c2c6e995ad4ef82720f86'/>
<id>urn:sha1:969496f15e1e0359e26c2c6e995ad4ef82720f86</id>
<content type='text'>
This change restructures the source code directories, separates shared
form non-shared application code and adds CMake dependencies. These
dependencies allow the tracking of changes and trigger a rebuild of
those build targets where changed files are involved.

WARNING: Note that the support of the DNBD3_SERVER_AFL build option is
not supported yet. Thus, the option should be never turned on.
</content>
</entry>
<entry>
<title>[KERNEL] ported socket time structures to support CentOS 8 kernel 4.18</title>
<updated>2020-10-13T09:47:49+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-10-13T09:47:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=455d055153f09be54b7ecb2067bf83c6eda83911'/>
<id>urn:sha1:455d055153f09be54b7ecb2067bf83c6eda83911</id>
<content type='text'>
This patch implements the old time structures to support Linux kernels
prior to version 5.1.x.

WARNING: This change to the deprecated time structures does not solve
the Y2038 issue. Thus, the dnbd3 Linux kernel module can only run under
Linux kernels prior to version 5.1.x until the end of year 2037.
</content>
</entry>
<entry>
<title>[KERNEL] set socket timeouts with new function and time structure</title>
<updated>2020-08-31T13:01:04+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-08-31T13:01:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=753aee3e741301e3b461b2e7930c9f7eef80e659'/>
<id>urn:sha1:753aee3e741301e3b461b2e7930c9f7eef80e659</id>
<content type='text'>
This patch replaces the deprecated kernel_setsockopt() function with the
socket generic function sock_setsockopt() to set the send and receive
timeout for all used sockets in the kernel module. The timeout data type
is choosen according to the available kernel version, so that the dnbd3
kernel module supports the new y2038-problem-solving socket options.
With both changes, the kernel module runs on Linux kernel 5.4 LTS and
later (including Linux kernel 5.9).
</content>
</entry>
<entry>
<title>[KERNEL] make private network functions static</title>
<updated>2020-08-28T13:32:48+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-08-28T13:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=55e3c4a5b8e4073b1e792be6e3b55595be015c6d'/>
<id>urn:sha1:55e3c4a5b8e4073b1e792be6e3b55595be015c6d</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>[KERNEL] convert to blk-mq and ktime</title>
<updated>2020-08-27T09:02:30+00:00</updated>
<author>
<name>Manuel Bentele</name>
</author>
<published>2020-08-27T09:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=47c8cb8c78fbace1e5edb2107fc1c4dcbe7058be'/>
<id>urn:sha1:47c8cb8c78fbace1e5edb2107fc1c4dcbe7058be</id>
<content type='text'>
This converts the dnbd3 kernel module driver to use the blk-mq
infrastructure,  which allows the dnbd3 kernel module driver to be
compatible with Linux kernels in version 5.x or later. The conversion of
the implementation uses one hardware queue to preserve the existing
send/receive and load-balancing logic, but can be scaled up in the
future. In addition to that, time measurements in the implementation are
converted to ktime based accessors to replace the use of deprecated time
interfaces.
</content>
</entry>
<entry>
<title>[KERNEL] Fix keep alive timer on 4.15+</title>
<updated>2018-08-15T15:15:27+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2018-08-15T15:15:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=234d4d25a370fb7c3668aeecb86c9be2a629e823'/>
<id>urn:sha1:234d4d25a370fb7c3668aeecb86c9be2a629e823</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Pre/post 4.11 handling of request ops</title>
<updated>2018-04-05T10:28:13+00:00</updated>
<author>
<name>Jonathan Bauer</name>
</author>
<published>2018-04-04T15:47:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=928cdb2a034572d29cda884b927cca293baae211'/>
<id>urn:sha1:928cdb2a034572d29cda884b927cca293baae211</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] #ifs and #defines for timer pre/post 4.15</title>
<updated>2018-04-05T10:28:10+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2018-04-04T11:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=99c5e11a73afd07e112dc7ef81dd33e8d76c06de'/>
<id>urn:sha1:99c5e11a73afd07e112dc7ef81dd33e8d76c06de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[KERNEL] Macros for packing CMD_* into struct request</title>
<updated>2018-03-27T12:56:22+00:00</updated>
<author>
<name>Simon Rettberg</name>
</author>
<published>2018-03-27T12:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/dnbd3.git/commit/?id=acc859b08560d7da25bc8f542648e90aa97fbc7f'/>
<id>urn:sha1:acc859b08560d7da25bc8f542648e90aa97fbc7f</id>
<content type='text'>
Version check for pre or post 4.11
</content>
</entry>
</feed>
