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, Oct 26, 7:15 AM
Unknown Object (File)
Sat, Oct 26, 7:15 AM
Unknown Object (File)
Sat, Oct 26, 7:00 AM
Unknown Object (File)
Sep 27 2024, 12:43 PM
Unknown Object (File)
Sep 19 2024, 9:23 PM
Unknown Object (File)
Sep 19 2024, 3:06 PM
Unknown Object (File)
Sep 19 2024, 4:54 AM
Unknown Object (File)
Sep 18 2024, 7:40 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