Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-10-22 Thread Aleksei Zakharov
ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : > > Алексей Захаров wrote: > [...] > >Right after reboot one of the slaves hangs with actor port state 71 > >and partner port state 1. > >It doesn't send lacpdu and seems to be broken. > >Setting link down and up again fixes slave state. > [...] > >

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-27 Thread Aleksei Zakharov
чт, 26 сент. 2019 г. в 23:01, Jay Vosburgh : > > Aleksei Zakharov wrote: > > >чт, 26 сент. 2019 г. в 07:38, Jay Vosburgh : > >> > >> Aleksei Zakharov wrote: > >> > >> >ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : > >> >> > >> >> Алексей Захаров wrote: > >> >> [...] > >> >> >Right after reboot one

RE: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-27 Thread zhangsha (A)
> -Original Message- > From: Aleksei Zakharov [mailto:zaha...@selectel.ru] > Sent: 2019年9月25日 19:02 > To: Jay Vosburgh > Cc: netdev@vger.kernel.org; zhangsha (A) > Subject: Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states > race > > ср, 25

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-26 Thread Jay Vosburgh
Aleksei Zakharov wrote: >чт, 26 сент. 2019 г. в 07:38, Jay Vosburgh : >> >> Aleksei Zakharov wrote: >> >> >ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : >> >> >> >> Алексей Захаров wrote: >> >> [...] >> >> >Right after reboot one of the slaves hangs with actor port state 71 >> >> >and partner por

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-26 Thread Aleksei Zakharov
чт, 26 сент. 2019 г. в 07:38, Jay Vosburgh : > > Aleksei Zakharov wrote: > > >ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : > >> > >> Алексей Захаров wrote: > >> [...] > >> >Right after reboot one of the slaves hangs with actor port state 71 > >> >and partner port state 1. > >> >It doesn't send lac

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-25 Thread Jay Vosburgh
Aleksei Zakharov wrote: >ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : >> >> Алексей Захаров wrote: >> [...] >> >Right after reboot one of the slaves hangs with actor port state 71 >> >and partner port state 1. >> >It doesn't send lacpdu and seems to be broken. >> >Setting link down and up again f

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-25 Thread Aleksei Zakharov
ср, 25 сент. 2019 г. в 03:31, Jay Vosburgh : > > Алексей Захаров wrote: > [...] > >Right after reboot one of the slaves hangs with actor port state 71 > >and partner port state 1. > >It doesn't send lacpdu and seems to be broken. > >Setting link down and up again fixes slave state. > [...] > >

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-24 Thread Jay Vosburgh
Алексей Захаров wrote: [...] >Right after reboot one of the slaves hangs with actor port state 71 >and partner port state 1. >It doesn't send lacpdu and seems to be broken. >Setting link down and up again fixes slave state. [...] I think I see what failed in the first patch, could you test

Re: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-24 Thread David Miller
From: Aleksei Zakharov Date: Wed, 18 Sep 2019 16:05:45 +0300 > Once a while, one of 802.3ad slaves fails to initialize and hangs in > BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave > link initialization transition states") checks slave->last_link_up. But > link can still h

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-21 Thread Алексей Захаров
сб, 21 сент. 2019 г. в 10:06, Jay Vosburgh : > > Алексей Захаров wrote: > > >> > >> Jay Vosburgh wrote: > >> [...] > >> > In any event, I think I see what the failure is, I'm working up > >> >a patch to test and will post it when I have it ready. > >> > >> Aleksei, > >> > >>

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-21 Thread Jay Vosburgh
Алексей Захаров wrote: >> >> Jay Vosburgh wrote: >> [...] >> > In any event, I think I see what the failure is, I'm working up >> >a patch to test and will post it when I have it ready. >> >> Aleksei, >> >> Would you be able to test the following patch and see if it >> resol

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-20 Thread Алексей Захаров
> > Jay Vosburgh wrote: > [...] > > In any event, I think I see what the failure is, I'm working up > >a patch to test and will post it when I have it ready. > > Aleksei, > > Would you be able to test the following patch and see if it > resolves the issue in your testing? Th

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-20 Thread Jay Vosburgh
Jay Vosburgh wrote: [...] > In any event, I think I see what the failure is, I'm working up >a patch to test and will post it when I have it ready. Aleksei, Would you be able to test the following patch and see if it resolves the issue in your testing? This is against curr

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-19 Thread Jay Vosburgh
Алексей Захаров wrote: >чт, 19 сент. 2019 г. в 11:00, Jay Vosburgh : >> >> Алексей Захаров wrote: >> >> >> >Once a while, one of 802.3ad slaves fails to initialize and hangs in >> >> >BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave >> >> >link initialization transition state

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-19 Thread Алексей Захаров
чт, 19 сент. 2019 г. в 11:00, Jay Vosburgh : > > Алексей Захаров wrote: > > >> >Once a while, one of 802.3ad slaves fails to initialize and hangs in > >> >BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave > >> >link initialization transition states") checks slave->last_link_up.

Re: Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-19 Thread Jay Vosburgh
Алексей Захаров wrote: >> >Once a while, one of 802.3ad slaves fails to initialize and hangs in >> >BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave >> >link initialization transition states") checks slave->last_link_up. But >> >link can still hang in weird state. >> >After p

Fwd: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-18 Thread Алексей Захаров
> >Once a while, one of 802.3ad slaves fails to initialize and hangs in > >BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave > >link initialization transition states") checks slave->last_link_up. But > >link can still hang in weird state. > >After physical link comes up it send

Re: [PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-18 Thread Jay Vosburgh
Aleksei Zakharov wrote: >Once a while, one of 802.3ad slaves fails to initialize and hangs in >BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave >link initialization transition states") checks slave->last_link_up. But >link can still hang in weird state. >After physical link

[PATCH] bonding/802.3ad: fix slave initialization states race

2019-09-18 Thread Aleksei Zakharov
Once a while, one of 802.3ad slaves fails to initialize and hangs in BOND_LINK_FAIL state. Commit 334031219a84 ("bonding/802.3ad: fix slave link initialization transition states") checks slave->last_link_up. But link can still hang in weird state. After physical link comes up it sends first two LAC