]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Prevent an assertion by triggering the DPC to poll frontend during pause.
authorOwen Smith <owen.smith@citrix.com>
Thu, 12 Jun 2014 11:26:06 +0000 (12:26 +0100)
committerOwen Smith <owen.smith@citrix.com>
Thu, 12 Jun 2014 11:26:06 +0000 (12:26 +0100)
Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenvbd/pdo.c

index 464cc52caa427e24dffe4da7d6bd5ff371f49f2b..666c88c356f8f7802c57bbcaa3b3535e9fc38132 100644 (file)
@@ -471,7 +471,7 @@ __PdoPauseDataPath(
     while (QueueCount(&Pdo->SubmittedReqs)) {
         if (Timeout && Count > 180000)
             break;
-        FrontendNotifyResponses(Pdo->Frontend);
+        NotifierTrigger(Notifier);      // queue DPC to poll frontend
         NotifierSend(Notifier);         // let backend know it needs to do some work
         StorPortStallExecution(1000);   // 1000 micro-seconds
         ++Count;