[Drbd-dev] [PATCH 10/10] drbd: For protocol versions before 100, use mixed header versions

Kyle Moffett kyle at moffetthome.net
Fri Sep 23 19:24:48 CEST 2011


On Fri, Sep 23, 2011 at 10:31, Philipp Reisner
<philipp.reisner at linbit.com> wrote:
> Previous versions of drbd are using version 80 headers for all packets
> short enough for protocol 80.  They support both header versions in
> worker context, but only version 80 headers in asynchronous context.
> For backwards compatibility, continue to use version 80 headers for
> short packets before protocol version 100.
>
> From protocol version 100 on, use the same header version for all
> packets.

If I understand it correctly, this patch fixes a backwards compat bug in
code introduced 2 patches earlier:
  [PATCH 08/10] drbd: Introduce protocol version 100 headers

Therefore this patch (and its commit message) should just be rolled into
that one to prevent the bug in the first place.

Cheers,
Kyle Moffett


More information about the drbd-dev mailing list