[DRBD-user] mixing older kernels and newer drbd driver/kernel module releases

Mark mark-sd2te3fp at mstier.de
Tue Aug 2 13:48:20 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello!

are there any known issues related to the combination of

opensuse 11.2 kernel 2.6.31.14-0.8-xen
and
recent drbd 8.3.11 kernel module?

Is it recommended to always use the latest (stable) driver?

In order to be able to compile a recent drbd driver against that opensuse
kernel, the following patch is required, which was found on this mailing
list:

--- drbd_wrappers.h.orig    2011-07-20 16:08:50.112568582 +0200
+++ drbd_wrappers.h 2011-07-20 16:09:02.064528645 +0200
@@ -121,7 +121,7 @@
 extern BIO_ENDIO_TYPE drbd_endio_write_sec BIO_ENDIO_ARGS(struct bio
*bio, int error);
 extern BIO_ENDIO_TYPE drbd_endio_pri BIO_ENDIO_ARGS(struct bio *bio, int
error);

-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
+#if 0
 #define part_inc_in_flight(A, B) part_inc_in_flight(A)
 #define part_dec_in_flight(A, B) part_dec_in_flight(A)
 #endif



Are there any known issues with that patch and the listed kernel+drbd
release combination?

Best regards,
Mark






-- 
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in RFC-2119
[http://www.ietf.org/rfc/rfc2119.txt].




More information about the drbd-user mailing list