Changeset 32278 in vbox for trunk/src/VBox/Devices/Storage/ISCSIHDDCore.cpp
- Timestamp:
- Sep 7, 2010 11:35:31 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/ISCSIHDDCore.cpp
r32225 r32278 21 21 *******************************************************************************/ 22 22 #define LOG_GROUP LOG_GROUP_VD_ISCSI 23 #define LOG_ENABLED 23 24 #include <VBox/VBoxHDD-Plugin.h> 24 25 #define VBOX_VDICORE_VD /* Signal that the header is included from here. */ … … 1745 1746 uint32_t ExpDataSN = 0; 1746 1747 bool final = false; 1748 1747 1749 1748 1750 LogFlowFunc(("entering, CmdSN=%d\n", pImage->CmdSN)); … … 3297 3299 3298 3300 if (pImage->cCmdsWaiting) 3301 { 3302 pImage->fPollEvents &= ~VD_INTERFACETCPNET_HINT_INTERRUPT; 3299 3303 msWait = pImage->uReadTimeout; 3304 } 3300 3305 else 3306 { 3307 pImage->fPollEvents |= VD_INTERFACETCPNET_HINT_INTERRUPT; 3301 3308 msWait = RT_INDEFINITE_WAIT; 3309 } 3302 3310 3303 3311 LogFlow(("Waiting for events fPollEvents=%#x\n", pImage->fPollEvents)); … … 3331 3339 } 3332 3340 } 3333 else if (rc == VERR_TIMEOUT) 3341 #if 0 3342 else if ((rc == VERR_TIMEOUT) && pImage->cCmdsWaiting) 3334 3343 { 3335 3344 /* … … 3338 3347 * We assume the connection is broken and try to reconnect. 3339 3348 */ 3340 LogFlow(("Timed out while waiting for an a snwer from the target, reconnecting\n"));3349 LogFlow(("Timed out while waiting for an answer from the target, reconnecting\n")); 3341 3350 iscsiReattach(pImage); 3342 3351 } 3343 else if (RT_SUCCESS(rc)) 3352 #endif 3353 else if (RT_SUCCESS(rc) || rc == VERR_TIMEOUT) 3344 3354 { 3345 3355 Assert(pImage->state == ISCSISTATE_NORMAL);
Note:
See TracChangeset
for help on using the changeset viewer.