Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1591045 > unrolled thread

RE: [PATCH] Drivers: hv: util: move waiting for release to hv_utils_transport itself

Started byDexuan Cui <decui@microsoft.com>
First post2017-03-02 13:50 +0100
Last post2017-03-02 13:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: [PATCH] Drivers: hv: util: move waiting for release to  hv_utils_transport itself Dexuan Cui <decui@microsoft.com> - 2017-03-02 13:50 +0100

#1591045 — RE: [PATCH] Drivers: hv: util: move waiting for release to hv_utils_transport itself

FromDexuan Cui <decui@microsoft.com>
Date2017-03-02 13:50 +0100
SubjectRE: [PATCH] Drivers: hv: util: move waiting for release to hv_utils_transport itself
Message-ID<tgylc-2jr-7@gated-at.bofh.it>
> From: Vitaly Kuznetsov [mailto:vkuznets@redhat.com]
> Sent: Thursday, March 2, 2017 17:48
> To: devel@linuxdriverproject.org
> Cc: linux-kernel@vger.kernel.org; KY Srinivasan <kys@microsoft.com>; Haiyang
> Zhang <haiyangz@microsoft.com>; Stephen Hemminger
> <sthemmin@microsoft.com>; Dexuan Cui <decui@microsoft.com>; Alex Ng (LIS)
> <alexng@microsoft.com>
> Subject: [PATCH] Drivers: hv: util: move waiting for release to hv_utils_transport
> itself
> 
> Waiting for release_event in all three drivers introduced issues on release
> as on_reset() hook is not always called. E.g. if the device was never
> opened we will never get the completion.
> 
> Move the waiting code to hvutil_transport_destroy() and make sure it is
> only called when the device is open. hvt->lock serialization should
> guarantee the absence of races.
> 
> Fixes: 5a66fecbf6aa ("Drivers: hv: util: kvp: Fix a rescind processing issue")
> Fixes: 20951c7535b5 ("Drivers: hv: util: Fcopy: Fix a rescind processing issue")
> Fixes: d77044d142e9 ("Drivers: hv: util: Backup: Fix a rescind processing issue")
> Reported-by: Dexuan Cui <decui@microsoft.com>
> Tested-by: Dexuan Cui <decui@microsoft.com>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>

Acked-by: Dexuan Cui <decui@microsoft.com>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web