Page MenuHomeFreeBSD

unlink, rmdir: call notify_upper from VOP pre method instead of syscall
Needs ReviewPublic

Authored by kib on Tue, Feb 4, 12:26 AM.
Tags
None
Referenced Files
F109360639: D48825.id.diff
Tue, Feb 4, 1:30 AM
F109360628: D48825.id150443.diff
Tue, Feb 4, 1:29 AM
F109360548: D48825.diff
Tue, Feb 4, 1:28 AM
F109357633: D48825.diff
Tue, Feb 4, 12:27 AM
Subscribers
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary
Suppose that there are two or more nullfs mounts over some fs, and
suppose the we unlink a file on one of the nullfs mount.
This way notify_upper get called from the lower vnode as well, allowing
the other nullfs mounts to note that and drop their caches for the
unlinked vnode.

PR:     254210

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped