Peter T. Breuer | 21 Jul 2008 16:20
Picon

Re: Compiling issues with enbd-2.4.35a and kernel2.6.25.9

"Also sprach uwe schmeling:"
  [ of end_that_request_last and its little nephews and nieces ]

> > Can you please check for me where it has gone? Or if it has gone.
> > 
> this is now living in blk-core.c but there is only a __end_that_xxx
> which is not exported anymore

Sigh. That is a big change. I'll need to see what to do about it.

BTW, you can probably make the newer 2.4.35 enbd_request struct equal
in size to the 2.4.30 enbd_request struct by adding a "special" field
in the newer struct at the point where it appears in the older struct.
Then recompile and see if the newer client now works with the older
server.

It would likely die horribly, taking your grandmother and pet rabbit
with. But maybe not.

> > You can't, unfortunately. The on-the-wire sizes and shapes of the
> > headers preceding data has likely changed between 2.4.30 and 2.4.35.
> > The enbd_request and enbd_reply structs are defined in include/enbd.h.
> > 
> > In 2.4.35a request is:
> > 
> > struct enbd_request {
> >   __u32  magic;
> >   __u32   type;
> >   __u32 handle;
> >   __u64   from;
(Continue reading)


Gmane