summaryrefslogtreecommitdiff
path: root/Kernel/FileSystem.h
AgeCommit message (Collapse)Author
2019-02-10Kernel: Add an LRU block cache.Andreas Kling
This papers over some of the incredibly inefficient access patterns in the Ext2FS implementation for a while longer. :^)
2019-02-08Kernel: Break retain cycle between Inode and VMObject.Andreas Kling
There's no need for an Inode to keep its corresponding VMObject alive. Obviously there are huge benefits to keeping a filesystem cache, but leaking everything is hardly the right strategy. :^)
2019-02-06Bootloader: Locate the kernel's data segment and clear it.Andreas Kling
This was a constant source of stupid bugs and I kept postponing it because I wasn't in the mood to write assembly code. Until now! :^)
2019-02-05Kernel: Invalidate file-backed VMO's when inodes are written.Andreas Kling
The current strategy is simply to nuke all physical pages and force reload them from disk. This is obviously not optimal and should eventually be optimized. It should be fairly straightforward.
2019-01-31Big, possibly complete sweep of naming changes.Andreas Kling
2019-01-29Implement basic chmod() syscall and /bin/chmod helper.Andreas Kling
Only raw octal modes are supported right now. This patch also changes mode_t from 32-bit to 16-bit to match the on-disk type used by Ext2FS. I also ran into EPERM being errno=0 which was confusing, so I inserted an ESUCCESS in its place.
2019-01-28Add support for removing directories.Andreas Kling
It's really only supported in Ext2FS since SynthFS doesn't really want you mucking around with its files. This is pretty neat though :^) I ran into some trouble with HashMap while working on this but opted to work around it and leave that for a separate investigation.
2019-01-23Kernel: Get rid of Unix namespace.Andreas Kling
This is no longer needed as the Kernel can stand on its own legs now and there won't be any conflict with host system data types.
2019-01-23VFS: Move Ext2FSInode::m_lock up to Inode so all inodes can have locking.Andreas Kling
2019-01-23VFS: Rename FS::id() to fsid() for consistency.Andreas Kling
2019-01-23Move VFS sources into Kernel/.Andreas Kling
2018-10-18Use FileHandle from VFS.Andreas Kling
2018-10-16Import the "gerbert" kernel I worked on earlier this year.Andreas Kling
It's a lot crappier than I remembered it. It's gonna need a lot of work.