[DRBD-user] missing drbd_compat_wrappers.h

Vincent Fortier vincent.fortier1 at ec.gc.ca
Wed Jan 16 14:16:09 CET 2008

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


Le mercredi 16 janvier 2008 à 07:48 -0500, Fortier,Vincent [Montreal] a
écrit :
> I tried to create a patch using:
> make KDIR=/usr/src/linux-2.6.23.14 clean kernel-patch
> 
> and I got this error
> 
> set -o errexit; \
>         kbase=$(basename /usr/src/linux-2.6.23.14); \
>         d=patch-$kbase-drbd-8.2.4; \
>         test -e $d && cp -fav --backup=numbered $d $d; \
>         bash scripts/patch-kernel /usr/src/linux-2.6.23.14 . > $d
> cp: cannot stat `/usr/src/drbd-8.2.4/drbd/drbd_compat_wrappers.h': No
> such file or directory
> make: *** [kernel-patch] Error 1
> 
> 
> I simply copied the drbd_compat_wrappers.h from drbd 8.0.8 and got a
> working patch... altough untested yet...

Had the time to test it... ain't working at all:
 CC [M]  drivers/block/drbd/drbd_bitmap.o
In file included from drivers/block/drbd/drbd_bitmap.c:31:
drivers/block/drbd/drbd_int.h:1248:27: error: drbd_wrappers.h: No such
file or directory
In file included from drivers/block/drbd/drbd_bitmap.c:31:
drivers/block/drbd/drbd_int.h: In function 'drbd_get_max_capacity':
drivers/block/drbd/drbd_int.h:1656: error: implicit declaration of
function 'drbd_get_capacity'
drivers/block/drbd/drbd_bitmap.c: At top level:
drivers/block/drbd/drbd_bitmap.c:539: warning: return type defaults to
'int'
drivers/block/drbd/drbd_bitmap.c:539: warning: function declaration
isn't a prototype
drivers/block/drbd/drbd_bitmap.c: In function 'BIO_ENDIO_FN':
drivers/block/drbd/drbd_bitmap.c:540: error: 'bio' undeclared (first use
in this function)
drivers/block/drbd/drbd_bitmap.c:540: error: (Each undeclared identifier
is reported only once
drivers/block/drbd/drbd_bitmap.c:540: error: for each function it
appears in.)
drivers/block/drbd/drbd_bitmap.c:543: error: 'BIO_ENDIO_FN_START'
undeclared (first use in this function)
drivers/block/drbd/drbd_bitmap.c:548: error: 'error' undeclared (first
use in this function)
drivers/block/drbd/drbd_bitmap.c:563: error: 'BIO_ENDIO_FN_RETURN'
undeclared (first use in this function)
drivers/block/drbd/drbd_bitmap.c: In function 'bm_page_io_async':
drivers/block/drbd/drbd_bitmap.c:590: error: 'bm_async_io_complete'
undeclared (first use in this function)
drivers/block/drbd/drbd_bitmap.c:594: error: too few arguments to
function 'bio_endio'
make[4]: *** [drivers/block/drbd/drbd_bitmap.o] Error 1
make[3]: *** [drivers/block/drbd] Error 2
make[2]: *** [drivers/block] Error 2
make[1]: *** [drivers] Error 2
make[1]: Leaving directory
`/usr/src/linux-headers-2.6.23.14-cfs-etch-686-envcan'
make: *** [debian/stamp-build-kernel] Error 2

> 
> Is there any chances that this feature comes back in the 8.2.x serie?
> 




More information about the drbd-user mailing list