fs: lock superblock lists and inode cache by dgruss · Pull Request #319 · isec-tugraz/sweb · GitHub
Skip to content

fs: lock superblock lists and inode cache - #319

Open
dgruss wants to merge 1 commit into
mainfrom
superblock-locking
Open

dgruss wants to merge 1 commit into
mainfrom
superblock-locking

Conversation

@dgruss

@dgruss dgruss commented Oct 11, 2026

Copy link
Copy Markdown
Member

Lock the inode and open-file lists, and make sure concurrent Minix cache lookups don't load the same inode twice. Keep the locks held through file release and inode cleanup.

Also make inode reference counts atomic and lock Minix inode block updates, so concurrent writes don't overwrite each other's changes.

Fixes #62.

This might need a bit more testing before merging. I only tested it on baseline SWEB - we should try this on a full SWEB with many features and filesystem interactions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

superblock is not locked

1 participant