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)
Tue, Jun 4, 7:42 AM
Unknown Object (File)
Wed, May 29, 12:24 AM
Unknown Object (File)
May 14 2024, 11:35 PM
Unknown Object (File)
Apr 27 2024, 8:53 AM
Unknown Object (File)
Apr 26 2024, 3:50 AM
Unknown Object (File)
Apr 14 2024, 5:45 PM
Unknown Object (File)
Apr 8 2024, 10:43 PM
Unknown Object (File)
Apr 8 2024, 7:50 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