Page MenuHomeFreeBSD

kern/vfs: Add the per-filesystem vnode counter to struct mount. (stable/13)
Needs ReviewPublic

Authored by seigo.tanimura_gmail.com on Mar 1 2024, 5:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 8:53 AM
Unknown Object (File)
Fri, Apr 26, 3:50 AM
Unknown Object (File)
Sun, Apr 14, 5:45 PM
Unknown Object (File)
Mon, Apr 8, 10:43 PM
Unknown Object (File)
Mon, Apr 8, 7:50 PM
Unknown Object (File)
Mon, Apr 8, 7:15 PM
Unknown Object (File)
Mar 6 2024, 11:19 AM
Unknown Object (File)
Mar 4 2024, 7:44 PM
Subscribers

Details

Reviewers
olce
Summary

This is the preparation for the precise vnode recycle on ZFS and nullfs.
In the upcoming commits, those filesystems make mnt_fsvninusep point to the
vnode counter internal in each filesystem.

This change does not affect any filesystems that do not set mnt_fsvninusep.

This change is separated from the ZFS and nullfs fixes because it modifies
struct mount.

PR: 275594
Reported By: Thomas Mueller <thmu7@freenet.de>
Security: FreeBSD-EN-23:18.openzfs
Signed-off-by: Seigo Tanimura <seigo.tanimura@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56370
Build 53258: arc lint + arc unit

Event Timeline

Target branches: stable/13, releng/13.3, releng/13.2
Backport of: https://reviews.freebsd.org/D44171

seigo.tanimura_gmail.com retitled this revision from kern/vfs: Add the per-filesystem vnode counter to struct mount. to kern/vfs: Add the per-filesystem vnode counter to struct mount. (stable/13).Mar 1 2024, 5:56 PM