[DRBD-user] Re: [DRBD-announce] drbd-8.0pre3.tar.gz

Guido Guenther agx at sigxcpu.org
Tue Apr 25 15:48:00 CEST 2006

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


Hi Philipp,
On Thu, Apr 20, 2006 at 02:03:13PM +0200, Philipp Reisner wrote:
>  * Fixes for 64bit kernel / 32 bit userland environments
Thanks for applying that one, but it fixes the problem not entirely
since ioctl_get_config changed underneath us:

Apr 25 12:56:11 testav0109 kernel: sizeof(struct ioctl_get_config): 584
!= 580
Apr 25 12:56:11 testav0109 kernel: ioctls won't work, aborting

this is due to the fact that sizeof(ioctl_get_config) % 8 != 0 on amd64
now. After removing _pad it looks better:

--- bla/drbd-8.0pre3/drbd/linux/drbd.h	2006-04-07 15:56:50.000000000 +0200
+++ drbd-8.0pre3/drbd/linux/drbd.h	2006-04-25 15:42:56.000000000 +0200
@@ -295,7 +295,6 @@
 	OUT int               meta_device_minor;
 	OUT int               meta_index;
 	OUT drbd_state_t      state;
-	int                   _pad;
 };
 
 enum MetaDataFlags {

Cheers,
 -- Guido



More information about the drbd-user mailing list