Changeset 75603 in vbox for trunk/src/VBox/Additions/os2/VBoxSF
- Timestamp:
- Nov 20, 2018 3:42:47 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFFile.cpp
r75602 r75603 614 614 * 615 615 * 0. Skip calling the host and returning zeros: 616 * 906 ns / 3653 ticks616 * 906 ns / 3653 ticks 617 617 * 618 618 * This is comparable to JFS (859 ns) and HPFS (1107 ns) and give an 619 619 * idea what we're up against compared to a "local" file system. 620 * 621 * Host build of r126639 with strict VBoxGuest.sys and VBoxSF.ifs 622 * circa r126775, just for establishing some actual base line for (2, 3, +): 623 * (a) 39095 ns / 156757 ticks - VbglR0SfFsInfo. 624 * (b) 35074 ns / 140880 ticks - VbglR0SfPhysFsInfo. 620 625 * 621 626 * 1. Having shortcircuted the host side processing by faking a success when … … 659 664 * 27472 ns / 110237 ticks - RTSEMEVENTMULTI 660 665 * 26550 ns / 106831 ticks - RTSEMEVENT 661 */ 662 #if 0 666 * 667 * Gain since 0a: 12545 ns / 49926 ticks / 32% 668 * Gain since 0b: 8524 ns / 34049 ticks / 24% 669 * 670 */ 671 #if 1 663 672 APIRET rc; 664 673 PSHFLFSOBJINFO pObjInfo = (PSHFLFSOBJINFO)VbglR0PhysHeapAlloc(sizeof(*pObjInfo)); … … 668 677 uint32_t cbObjInfo = sizeof(*pObjInfo); 669 678 670 int vrc = VbglR0SfF astPhysFsInfo(&g_SfClient, &pFolder->hHostFolder, pSfFsd->hHostFile,671 679 int vrc = VbglR0SfFsInfo(&g_SfClient, &pFolder->hHostFolder, pSfFsd->hHostFile, 680 SHFL_INFO_FILE | SHFL_INFO_GET, &cbObjInfo, (PSHFLDIRINFO)pObjInfo); 672 681 if (RT_SUCCESS(vrc)) 673 682 { … … 943 952 else 944 953 rc = ERROR_ACCESS_DENIED; 954 955 RT_NOREF(fIoFlags); 945 956 LogFlow(("FS32_NEWSIZEL: returns %u\n", rc)); 946 957 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.