Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFS work (dcache/path walking/mounts) #129

Merged
merged 14 commits into from
Aug 5, 2024
Merged

VFS work (dcache/path walking/mounts) #129

merged 14 commits into from
Aug 5, 2024

Conversation

heatd
Copy link
Owner

@heatd heatd commented Aug 2, 2024

No description provided.

heatd added 14 commits July 31, 2024 00:49
Add seqcount_t, that implements linux(ish) sequence counters, with
proper memory barriers.

Signed-off-by: Pedro Falcato <[email protected]>
Plus some reworking of mountpoint traversal (they're not longer stored
in dentries yet).

Signed-off-by: Pedro Falcato <[email protected]>
pointers

This has the side effect of giving us compliance (in many but not all!)
*at() functions.

Signed-off-by: Pedro Falcato <[email protected]>
Do away with "base" struct files and let lookup_start take care of it.

Signed-off-by: Pedro Falcato <[email protected]>
struct path contains only a dentry atm (with mount to follow).

Signed-off-by: Pedro Falcato <[email protected]>
They didn't make sense as struct file's, so use a proper struct for it.

Signed-off-by: Pedro Falcato <[email protected]>
We forgot to do path_get on the dirfd != AT_FDCWD case, which led us to
refcount problems.

Signed-off-by: Pedro Falcato <[email protected]>
Make dentries rcu-freed. Add kfree_rcu() to help out with this. Also
replace several rwslocks with spinlocks.

Signed-off-by: Pedro Falcato <[email protected]>
Now dentries default to d_ref = 0, and there's a way to lock references
out.

Signed-off-by: Pedro Falcato <[email protected]>
Add proper shrinking, LRU, with some dentry fixes sprinkled around.
Shrinkers aren't great atm, but they Work(tm) ish.

Signed-off-by: Pedro Falcato <[email protected]>
Add umount2() support. Also umount support for tmpfs and ext2, and loose
fixes for dcache rename and unlink.

Signed-off-by: Pedro Falcato <[email protected]>
@heatd heatd marked this pull request as ready for review August 5, 2024 01:17
@heatd heatd merged commit cbb4a86 into master Aug 5, 2024
3 checks passed
@heatd heatd deleted the pedro/mount branch August 5, 2024 01:18
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.

1 participant