[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [win-pv-devel] [PATCH 1/2] Ensure event channel is unmasked



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of owen.smith@xxxxxxxxxx
> Sent: 16 February 2017 10:12
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith <owen.smith@xxxxxxxxxx>
> Subject: [win-pv-devel] [PATCH 1/2] Ensure event channel is unmasked
> 
> From: Owen Smith <owen.smith@xxxxxxxxxx>
> 
> If the Pdo is paused, the notifier dpc will not
> unmask the event channel. When the Pdo is unpaused, the
> event channel remains masked, so no more interrupts
> get delivered.
> 
> Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>

Acked-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

> ---
>  src/xenvbd/notifier.c | 9 ---------
>  1 file changed, 9 deletions(-)
> 
> diff --git a/src/xenvbd/notifier.c b/src/xenvbd/notifier.c
> index 36e2ba1..b3d2a7c 100644
> --- a/src/xenvbd/notifier.c
> +++ b/src/xenvbd/notifier.c
> @@ -106,21 +106,12 @@ NotifierDpc(
>      )
>  {
>      PXENVBD_NOTIFIER    Notifier = Context;
> -    PXENVBD_PDO         Pdo;
> 
>      UNREFERENCED_PARAMETER(Dpc);
>      UNREFERENCED_PARAMETER(Arg1);
>      UNREFERENCED_PARAMETER(Arg2);
> 
>      ASSERT(Notifier != NULL);
> -    Pdo = FrontendGetPdo(Notifier->Frontend);
> -
> -    if (PdoIsPaused(Pdo)) {
> -        Warning("Target[%d] : Paused, %d outstanding\n",
> -                    PdoGetTargetId(Pdo), PdoOutstandingReqs(Pdo));
> -        if (PdoOutstandingReqs(Pdo) == 0)
> -            return;
> -    }
> 
>      if (!Notifier->Connected)
>          return;
> --
> 2.8.3
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.