RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-26 Thread Dexuan Cui
com; KY Srinivasan; > Haiyang 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 > >

Re: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-26 Thread Greg KH
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

Re: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-26 Thread Greg KH
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

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-26 Thread Dexuan Cui
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

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-21 Thread KY Srinivasan
gt; Cc: Haiyang Zhang; Vitaly 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...@linuxfoundati

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-21 Thread KY Srinivasan
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-kernel@vger.kernel.org; driverdev-de

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-20 Thread Dexuan Cui
iyang Zhang > Subject: RE: [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..

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-20 Thread KY Srinivasan
gt; Cc: Haiyang Zhang > Subject: 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/

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-20 Thread KY Srinivasan
: 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

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-20 Thread Dexuan Cui
; a...@canonical.com; jasow...@redhat.com Cc: Haiyang Zhang Subject: 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

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-19 Thread Dexuan Cui
> -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

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-19 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Dexuan Cui > Sent: Tuesday, November 11, 2014 9:03 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de;

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-19 Thread KY Srinivasan
-Original Message- From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf Of Dexuan Cui Sent: Tuesday, November 11, 2014 9:03 PM To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- de...@linuxdriverproject.org; o...@aepfle.de;

RE: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-19 Thread Dexuan Cui
-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

Re: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-12 Thread Vitaly Kuznetsov
Dexuan Cui 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. Y. Srinivasan

Re: [PATCH] hv: hv_fcopy: drop the obsolete message on transfer failure

2014-11-12 Thread Vitaly Kuznetsov
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.