From: Vitaly Kuznetsov <vkuznets@redhat.com>
To: kys@microsoft.com
Cc: Stephen Hemminger <stephen@networkplumber.org>,
olaf@aepfle.de, sthemmin@microsoft.com,
gregkh@linuxfoundation.org, jasowang@redhat.com,
linux-kernel@vger.kernel.org, apw@canonical.com,
marcelo.cerri@canonical.com, devel@linuxdriverproject.org,
leann.ogasawara@canonical.com,
Haiyang Zhang <haiyangz@microsoft.com>
Subject: Re: [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues
Date: Fri, 15 Sep 2017 15:48:34 +0200 [thread overview]
Message-ID: <87efr8ul71.fsf@vitty.brq.redhat.com> (raw)
In-Reply-To: <87ingkulhp.fsf@vitty.brq.redhat.com> (Vitaly Kuznetsov's message of "Fri, 15 Sep 2017 15:42:10 +0200")
Vitaly Kuznetsov <vkuznets@redhat.com> writes:
> Stephen Hemminger <stephen@networkplumber.org> writes:
>
>> On Fri, 11 Aug 2017 10:03:59 -0700
>> kys@exchange.microsoft.com wrote:
>>
>>> From: K. Y. Srinivasan <kys@microsoft.com>
>>>
>>> This patch handles the following issues that were observed when we are
>>> handling racing channel offer message and rescind message for the same
>>> offer:
>>>
>>> 1. Since the host does not respond to messages on a rescinded channel,
>>> in the current code, we could be indefinitely blocked on the vmbus_open() call.
>>>
>>> 2. When a rescinded channel is being closed, if there is a pending interrupt on the
>>> channel, we could end up freeing the channel that the interrupt handler would run on.
>>>
>>> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
>>> Reviewed-by: Dexuan Cui <decui@microsoft.com>
>>> Tested-by: Dexuan Cui <decui@microsoft.com>
>>
>> This patch breaks re-initialization of the network device on MTU changes.
>>
>> Doing:
>> # ip li set dev eth1 mtu 9000
>>
>> will hang in rndis_filter_add waiting for subchannel notification.
>> This is likely because when the vmbus device is reopened the sub channels
>> are not correctly created. Not sure what is wrong with the patch, but my
>> suspicion is that the close/rescind events are no longer being sent to the
>> host.
>
> I'm seeing the same issue, reverting the offending
>
> commit 6f3d791f300618caf82a2be0c27456edd76d5164
> Author: K. Y. Srinivasan <kys@microsoft.com>
> Date: Fri Aug 11 10:03:59 2017 -0700
>
> Drivers: hv: vmbus: Fix rescind handling issues
>
> which made it upstream helps. Did you guys do some investigation here?
> In case not I can take a look next week.
Sorry, I have to resend - K.Y.'s kys@exchange.microsoft.com doesn't
accept mail from me :-(
--
Vitaly
next prev parent reply other threads:[~2017-09-15 13:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-11 17:03 [PATCH 1/1] Drivers: hv: vmbus: Fix rescind handling issues kys
2017-08-24 22:41 ` Stephen Hemminger
2017-09-15 13:42 ` Vitaly Kuznetsov
2017-09-15 13:48 ` Vitaly Kuznetsov [this message]
2017-09-15 18:01 ` KY Srinivasan
[not found] ` <CAOaVG15SSUemaWuuCXz3O=3S2jCW+3=1Jdp1Ff8P+za9TFerRA@mail.gmail.com>
2017-09-18 8:31 ` Vitaly Kuznetsov
2017-09-18 12:55 ` Vitaly Kuznetsov
2017-09-18 23:18 ` KY Srinivasan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87efr8ul71.fsf@vitty.brq.redhat.com \
--to=vkuznets@redhat.com \
--cc=apw@canonical.com \
--cc=devel@linuxdriverproject.org \
--cc=gregkh@linuxfoundation.org \
--cc=haiyangz@microsoft.com \
--cc=jasowang@redhat.com \
--cc=kys@microsoft.com \
--cc=leann.ogasawara@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.cerri@canonical.com \
--cc=olaf@aepfle.de \
--cc=stephen@networkplumber.org \
--cc=sthemmin@microsoft.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox