[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |