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