Index: /trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp
===================================================================
--- /trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp	(revision 53342)
+++ /trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp	(revision 53343)
@@ -1285,7 +1285,7 @@
             /* Send notification to R3 if there is not one sent already. Do this
              * only if the worker thread is not sleeping or might go sleeping. */
-            if (ASMAtomicReadBool(&pThis->fWrkThreadSleeping))
+            if (!ASMAtomicXchgBool(&pThis->fNotificationSent, true))
             {
-                if (!ASMAtomicXchgBool(&pThis->fNotificationSent, true))
+                if (ASMAtomicReadBool(&pThis->fWrkThreadSleeping))
                 {
 #ifdef IN_RC
