[Ocfs2-users] o2cb stack and kernel >= 2.6.37

Jacek Stępniewski Jacek.Stepniewski at agora.pl
Mon Apr 4 10:08:50 PDT 2011


At protocol negotiation 1.0 is selected (rest of nodes are pre 2.6.37 with dlm 1.0).
But connecting node (with kernel >= 2.6.37) checks builtin version, not negotiated one.
I have found this code in dlmdomain.c:1615 (function: dlm_try_to_join_domain)

       /* Support for global heartbeat and node info was added in 1.1 */
       if (dlm_protocol.pv_major > 1 || dlm_protocol.pv_minor > 0) {
                status = dlm_send_nodeinfo(dlm, ctxt->yes_resp_map);
   
dlm_protocol is not changed during negotiation
I think here should be dlm->dlm_locking_proto instead dlm_protocol

This leads to sending unknown message type DLM_QUERY_NODEINFO (unknown for protocol 1.0):

(mount.ocfs2,10247,3):dlm_send_nodeinfo:1235 ERROR: node mismatch -92, node 3
(mount.ocfs2,10247,3):dlm_try_to_join_domain:1618 ERROR: status = -92
(mount.ocfs2,10247,3):dlm_join_domain:1879 ERROR: status = -92

This code exists (in git) up to 2.6.39-rc1


----- Oryginalna wiadomość -----
Od: "Sunil Mushran" <sunil.mushran at oracle.com>
Do: "Jacek Stępniewski" <Jacek.Stepniewski at agora.pl>
DW: ocfs2-users at oss.oracle.com
Wysłane: poniedziałek, 4 kwiecień 2011 15:33:49
Temat: Re: [Ocfs2-users] o2cb stack and kernel >= 2.6.37

--
Niniejsza wiadomość pochodzi z domeny @agora.pl, należącej do Grupy
Kapitałowej Agory. Główne spółki wchodzące w skład Grupy Kapitałowej
Agory to:

Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Numer identyfikacji
podatkowej: PL 526-030-56-44; Miejsce zarejestrowania: Sąd Rejonowy dla
m. st. Warszawy: Numer rejestru KRS: 59944; Kapitał zakładowy:
50.937.386 zł, wpłacony w całości.

Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Numer
identyfikacji podatkowej: PL 646-20-72-095; Miejsce zarejestrowania: Sąd
Rejonowy w Katowicach Numer rejestru KRS: 72481; Kapitał zakładowy:
1.000.000,00 zł.

Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa; Numer
identyfikacji podatkowej: PL 521-289-70-03; Miejsce zarejestrowania: Sąd
Rejonowy dla m. st. Warszawy Numer rejestru KRS: 126767; Kapitał
zakładowy:  25.019.500,00 zł.

Więcej informacji  o spółkach na stronie: www.agora.pl Wiadomość jest
przeznaczona wyłącznie dla zamierzonego adresata i może zawierać
informacje o charakterze poufnym. W razie stwierdzenia, że odbiorcą
miała być inna osoba prosimy poinformować nadawcę oraz niezwłocznie
usunąć wiadomość. Wiadomość może nie stanowić oficjalnego stanowiska
spółki Agora SA i nie być związana z jej działalnością.
------------
This message was sent from domain @agora.pl belonging to Agora Group.
Principal companies in the Agora Group structure are:

Agora SA, ul. Czerska 8/10, 00-732 Warszawa; Polish VAT and tax ID no.:
PL 526-030-56-44; Place of registration: Regional Court for the Capital
City of Warsaw; Registration no.: 59944; Share capital: PLN 50.937.386,
fully paid-up.

Agora - Poligrafia Sp. z o.o., ul. Towarowa 4, 43-110 Tychy; Polish VAT
and tax ID no.: PL 646-20-72-095; Place of registration: Regional Court
in Katowice; Registration no.: 72481; Share capital: PLN 1.000.000,00.

Grupa Radiowa Agory Sp. z o.o., ul. Czerska 8/10, 00-732 Warszawa;
Polish VAT and tax ID no.: PL 521-289-70-03; Place of registration:
Regional Court for the Capital City of Warsaw; Registration no.: 126767;
Share capital: PLN 25.019.500,00.

For more information about our companies see site: www.agora.pl This
message is for the intended recipient only and it may contain
confidential information. If you receive this message in error, please
immediately delete it and notify the sender. This message may not
represent the official views of Agora SA and may not be related to its
business.




More information about the Ocfs2-users mailing list