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

Re: [win-pv-devel] [PATCH] Track StartIo count


  • To: Owen Smith <owen.smith@xxxxxxxxxx>, "win-pv-devel@xxxxxxxxxxxxxxxxxxxx" <win-pv-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Paul Durrant <Paul.Durrant@xxxxxxxxxx>
  • Date: Fri, 16 Aug 2019 10:15:53 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: esa2.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=Paul.Durrant@xxxxxxxxxx; spf=Pass smtp.mailfrom=Paul.Durrant@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Owen Smith <owen.smith@xxxxxxxxxx>
  • Delivery-date: Fri, 16 Aug 2019 10:16:02 +0000
  • Ironport-sdr: TMe+I+C06uzfgGj3KgZkE/M0tDwcgMXsySlXgsxecDrhmmB1BxPOlaiu2kYYX5jb3zJofmfeoY 3NbW+/IU5uggmPMlO0ORik6f9F7NQ+PlNq/LZVsTCHBSM0caDYelBDDLZWCsdhVVDzVFvWTVhe kVC+JeePKGtZyP29+tKtAqB+N3GtqwScrEtxxdp0oYIiuG/lwgXBIajqJ1SOcTVAfxUWSxvAZD MlmhNFRd05KXuvFK93bjupa8JQnY4ejAzmSxYwTX1Y6jdhwZ8GqzGoZ+NO1PE0uc7I4ZATJA6s WAw=
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>
  • Thread-index: AQHVVBftIf5Q8DNod0CKlDfmVqGXf6b9jtHA
  • Thread-topic: [win-pv-devel] [PATCH] Track StartIo count

> -----Original Message-----
> From: win-pv-devel <win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx> On Behalf Of 
> Owen Smith
> Sent: 16 August 2019 10:49
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith <owen.smith@xxxxxxxxxx>
> Subject: [win-pv-devel] [PATCH] Track StartIo count
> 
> Adapter->StartIo was not being incremented, meaning this stat had no value
> 
> Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx>

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

> ---
>  src/xenvbd/adapter.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/xenvbd/adapter.c b/src/xenvbd/adapter.c
> index 79a5a0e..aeeb490 100644
> --- a/src/xenvbd/adapter.c
> +++ b/src/xenvbd/adapter.c
> @@ -1976,6 +1976,7 @@ AdapterHwStartIo(
>      BOOLEAN                 WasQueued = FALSE;
>      PXENVBD_TARGET          Target;
> 
> +    InterlockedIncrement((PLONG)&Adapter->StartIo);
>      Target = AdapterGetTarget(Adapter, Srb->TargetId);
>      if (Target == NULL) {
>          Srb->SrbStatus = SRB_STATUS_NO_DEVICE;
> --
> 2.16.2.windows.1
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/win-pv-devel

 


Rackspace

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