Changeset 24178 in vbox
- Timestamp:
- Oct 29, 2009 10:17:50 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 54120
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/ISCSIHDDCore.cpp
r24144 r24178 636 636 unsigned int i; 637 637 638 LogFlow((" drvISCSITransportTcpWrite: cnRequest=%d (%s:%d)\n", cnRequest, pImage->pszHostname, pImage->uPort));638 LogFlow(("iscsiTransportWrite: cnRequest=%d (%s:%d)\n", cnRequest, pImage->pszHostname, pImage->uPort)); 639 639 if (pImage->Socket == NIL_RTSOCKET) 640 640 { … … 692 692 } 693 693 694 LogFlow((" drvISCSITransportTcpWrite: returns %Rrc\n", rc));694 LogFlow(("iscsiTransportWrite: returns %Rrc\n", rc)); 695 695 return rc; 696 696 } … … 981 981 aReqBHS[5] = RT_H2N_U32(1 << 16); /* CID=1,reserved */ 982 982 aReqBHS[6] = RT_H2N_U32(pImage->CmdSN); 983 #if 0 /** @todo This ExpStatSN hack is required to make the netbsd-iscsi target working. Could be a bug in the target, 984 * but they claim a bunch of other initiators works fine with it... Needs looking into. */ 985 aReqBHS[7] = RT_H2N_U32(RT_MIN(pImage->ExpCmdSN, pImage->MaxCmdSN)); 986 #else 983 987 aReqBHS[7] = RT_H2N_U32(pImage->ExpStatSN); 988 #endif 984 989 aReqBHS[8] = 0; /* reserved */ 985 990 aReqBHS[9] = 0; /* reserved */ … … 2606 2611 2607 2612 rc = iscsiCommand(pImage, &sr); 2608 if (RT_SUCCESS(rc)) 2613 if ( RT_SUCCESS(rc) 2614 && sr.status == SCSI_STATUS_OK) 2609 2615 { 2610 2616 pImage->cVolume = RT_BE2H_U64(*(uint64_t *)&data12[0]);
Note:
See TracChangeset
for help on using the changeset viewer.