reactos/drivers/filesystems
Pierre Schweitzer 94ead99e0c [FASTFAT] Don't leak directories FILE_OBJECT, FCB and cache entries.
Once a directory is crossed (opened or a child is opened), associated
FCB structure is created in FastFAT, but also a stream FO for caching.
Up to now, due to an extra reference taken by the stream file object,
even when the directory was no longer used, the directory was kept in
memory: the FCB was never deleted, the file object was never dereferenced,
and the cache never released.

The immediate effect of this bug is that our FAT driver was leaking every
directory that was used affecting the whole OS situation. In case of
directories intensive operation (like extraction the ReactOS source code
in ReactOS ;-)), we were just killin the whole OS RAM without any way to
release it and recover.

The other side effects: IOs were faster as half of the FS was always
permanant in RAM.

This commit fixes the issue by forcing the FSD to release the FO,
and the cache when a directory is no longer used, leading to its
destruction in RAM.
Downside: on IO intensive operation, expect slowdowns, obviously,
there's less caching now. But more efficient!

CORE-14557
2018-04-28 18:33:14 +02:00
..
btrfs [SETUP] Remove FSDs which have broken dismount implementation. 2017-12-17 23:16:01 +01:00
cdfs [CDFS] Set the FO_CLEANUP_COMPLETE on cleanup 2017-11-05 13:57:41 +01:00
cdfs_new [CDFS_NEW] Sync with HEAD. 2018-02-25 10:14:27 +01:00
ext2 [FS] During 1st stage, disable any FS we don't support install to in order to let RawFS these volumes. 2017-12-18 08:46:24 +01:00
fastfat [FASTFAT] Don't leak directories FILE_OBJECT, FCB and cache entries. 2018-04-28 18:33:14 +02:00
fastfat_new [FASTFAT_NEW] Fix build with FASTFATDBG set 2017-11-24 12:00:10 +01:00
ffs [FS] During 1st stage, disable any FS we don't support install to in order to let RawFS these volumes. 2017-12-18 08:46:24 +01:00
fs_rec Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
msfs Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
mup Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
nfs [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
npfs Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition. 2017-10-04 10:28:36 +02:00
ntfs [NTFS] When reading $I30 attribute fails, stop the rename operation. 2018-04-14 11:43:57 +02:00
reiserfs [FS] During 1st stage, disable any FS we don't support install to in order to let RawFS these volumes. 2017-12-18 08:46:24 +01:00
udfs [FS] During 1st stage, disable any FS we don't support install to in order to let RawFS these volumes. 2017-12-18 08:46:24 +01:00
CMakeLists.txt [CDFS] Attempt to a switch to the MS CDFS driver. 2017-11-18 18:32:36 +01:00