[Bug 254210] jail: nullfs: deleted files does not free up space
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Feb 2025 22:21:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254210
--- Comment #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=1a0cb938f7b461edc40316cb44a80438df674174
commit 1a0cb938f7b461edc40316cb44a80438df674174
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-02-04 00:23:05 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-02-04 22:19:50 +0000
unlink, rmdir: call notify_upper from VOP pre method instead of syscall
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
Reviewed by: olce
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D48825
sys/kern/vfs_subr.c | 2 ++
sys/kern/vfs_syscalls.c | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.