summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem/DiskBackedFileSystem.cpp
AgeCommit message (Collapse)Author
2019-04-27DiskBackedFS: Flush write cache if it reaches 32 entries before sync.Andreas Kling
This is just to avoid chewing through all of the kernel memory. There is a lot of room for improvement here, and 32 is just a number from the place where numbers come from.
2019-04-25Kernel: Add a write cache to DiskBackedFS.Andreas Kling
This way you can spam small write()s on a file without the kernel writing to disk every single time. Flushes are included in the FS::sync() operation and will get triggered regularly by syncd. :^)
2019-04-03Kernel: Move FS-related files into Kernel/FileSystem/Andreas Kling