Changeset 32132 in vbox
- Timestamp:
- Aug 31, 2010 11:57:44 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/ISCSIHDDCore.cpp
r31943 r32132 2309 2309 /* Send as much as we can. */ 2310 2310 rc = pImage->pInterfaceNetCallbacks->pfnSgWriteNB(pImage->Socket, &pImage->pIScsiPDUTxCur->SgBuf, &cbSent); 2311 LogFlow(("SgWriteNB returned rc=%Rrc cbSent=%zu\n", rc, cbSent)); 2311 2312 if (RT_SUCCESS(rc)) 2312 2313 { … … 2338 2339 pImage->fPollEvents &= ~VD_INTERFACETCPNET_EVT_WRITE; 2339 2340 2341 LogFlowFunc(("rc=%Rrc pIScsiPDUTxCur=%#p\n", rc, pImage->pIScsiPDUTxCur)); 2340 2342 return rc; 2341 2343 } … … 3280 3282 msWait = RT_INDEFINITE_WAIT; 3281 3283 3284 LogFlow(("Waiting for events fPollEvents=%#x\n", pImage->fPollEvents)); 3282 3285 rc = iscsiIoThreadWait(pImage, msWait, pImage->fPollEvents, &fEvents); 3283 3286 if (rc == VERR_INTERRUPTED) … … 3334 3337 LogRel(("iSCSI: Handling incoming request failed %Rrc\n", rc)); 3335 3338 } 3336 else if (fEvents & VD_INTERFACETCPNET_EVT_WRITE) 3339 3340 if (fEvents & VD_INTERFACETCPNET_EVT_WRITE) 3337 3341 { 3338 3342 LogFlow(("The socket is writable\n")); … … 3341 3345 LogRel(("iSCSI: Sending PDU failed %Rrc\n", rc)); 3342 3346 } 3343 else if (fEvents & VD_INTERFACETCPNET_EVT_ERROR) 3347 3348 if (fEvents & VD_INTERFACETCPNET_EVT_ERROR) 3344 3349 { 3345 3350 LogFlow(("An error ocurred\n")); 3346 3351 iscsiReattach(pImage); 3347 3352 } 3348 else3349 LogRel(("iSCSI: Received unexpected event %#x\n", fEvents));3350 3353 } 3351 3354 else
Note:
See TracChangeset
for help on using the changeset viewer.