On Tue, Nov 11, 2014 at 09:03:26PM -0800, Dexuan Cui wrote:
In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon starts next
time, the obsolete data in fcopy_transaction.message or
fcopy_transaction.fcopy_msg will be used
Zhang; vkuzn...@redhat.com
Subject: Re: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer
failure
On Tue, Nov 11, 2014 at 09:03:26PM -0800, Dexuan Cui wrote:
In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon
Kuznetsov
Subject: RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer
failure
-Original Message-
From: KY Srinivasan
Sent: Friday, November 21, 2014 1:58 AM
To: Dexuan Cui; gre...@linuxfoundation.org;
linux-ker...@vger.kernel.org; driverdev-devel
: RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer
failure
-Original Message-
From: KY Srinivasan
Sent: Thursday, November 20, 2014 6:59 AM
diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c index
23b2ce2..177122a 100644
--- a/drivers/hv/hv_fcopy.c
: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer
failure
-Original Message-
From: Dexuan Cui
Sent: Wednesday, November 19, 2014 11:48 PM
To: KY Srinivasan; gre...@linuxfoundation.org; linux-
ker...@vger.kernel.org; driverdev-devel@linuxdriverproject.org;
o...@aepfle.de
; a...@canonical.com;
jasow...@redhat.com
Cc: Haiyang Zhang
Subject: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer
failure
In the case the user-space daemon crashes, hangs or is killed, we need to
down the semaphore, otherwise, after the daemon starts next time, the
obsolete data
-Original Message-
From: KY Srinivasan
Sent: Thursday, November 20, 2014 6:59 AM
diff --git a/drivers/hv/hv_fcopy.c b/drivers/hv/hv_fcopy.c index
23b2ce2..177122a 100644
--- a/drivers/hv/hv_fcopy.c
+++ b/drivers/hv/hv_fcopy.c
@@ -86,6 +86,15 @@ static void
Dexuan Cui de...@microsoft.com writes:
In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon starts next
time, the obsolete data in fcopy_transaction.message or
fcopy_transaction.fcopy_msg will be used immediately.
Cc: K.
In the case the user-space daemon crashes, hangs or is killed, we
need to down the semaphore, otherwise, after the daemon starts next
time, the obsolete data in fcopy_transaction.message or
fcopy_transaction.fcopy_msg will be used immediately.
Cc: K. Y. Srinivasan k...@microsoft.com