Go to file
Pierre Schweitzer 3ff70dc5d5 [NTOSKRNL]
A hack has gained enough XP and levels up! Congratulations to the MmCreateSection() in charge of forcing file cache initialization.
As show by kmtest:NtCreateSection tests and real world FSD (starting with MS FastFAT and Ext2Fsd), caching of a file can be initialized rather late (ie, on first effective read/write).
That means that our current hack is totally opless on newly created files with 0-size where the IRP_MJ_READ is most of the time opless too.
The hack, thanks to its level up, can now force a write (1-byte) in case read was unsuccessful and end of file.
In other words, this is the hack of a hack (and a hack v2).
It fixes a few failing kmtests.
Thomas, Peter, please retry the FSDs on which you are currently working on and report. Thanks :-)

CORE-11819
CORE-12475

svn path=/trunk/; revision=73384
2016-11-26 22:39:08 +00:00
reactos [NTOSKRNL] 2016-11-26 22:39:08 +00:00
rosapps [WINSPOOL_PRINT]: Improve the test application: 2016-10-26 22:43:53 +00:00
rossubsys [REACTOS][ROSAPPS][ROSSUBSYS] 2016-05-31 22:36:48 +00:00
rostests [LOCALSPL] 2016-11-24 19:24:27 +00:00
wallpapers Rename 'wallpaper' repo to 'wallpapers' (since it doesn't contain only 1 wallpaper :p ) 2015-03-15 16:06:50 +00:00