[DRBD-user] drbd9 with kernel 4.2 - compile fail

Philipp Reisner philipp.reisner at linbit.com
Tue Sep 8 18:28:42 CEST 2015

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


Hi Dietmar,

I did the necessary merges from drbd-8.4 after I saw your mail.
Please fetch drbd-9 git head and retry.

cheers,
 Phil

> Hi all,
> 
> we update our kernel to 4.2, and detected that drbd9 module does not
> compile. I get:
> 
> make -C /lib/modules/4.2.0-1-pve/build
>   SUBDIRS=/home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd  modules
>   CHK     /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/compat.h
>   UPD     /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/compat.h
>   CC [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_debugfs.o
> CC [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_bitmap.o
> CC [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_proc.o CC
> [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_sender.o CC
> [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_receiver.o CC
> [M]  /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_req.o
> /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_req.c: In function
> ‘remote_due_to_read_balancing’:
> /home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_req.c:1177:3:
> error: implicit declaration of function ‘bdi_read_congested’
> [-Werror=implicit-function-declaration]
>    return bdi_read_congested(bdi);
>    ^
> cc1: some warnings being treated as errors
> scripts/Makefile.build:258: recipe for target
> '/home/dietmar/pve4-devel/pve-kernel/drbd-9.0.0/drbd/drbd_req.o' failed
> 
> Somebody already wrote a patch for that?





More information about the drbd-user mailing list