Page MenuHomeFreeBSD

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

Authored by seigo.tanimura_gmail.com on Mar 1 2024, 5:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 4, 4:51 PM
Unknown Object (File)
Thu, Oct 30, 8:34 AM
Unknown Object (File)
Tue, Oct 28, 4:49 PM
Unknown Object (File)
Tue, Oct 28, 4:36 PM
Unknown Object (File)
Mon, Oct 27, 6:47 AM
Unknown Object (File)
Sun, Oct 19, 7:49 PM
Unknown Object (File)
Sun, Oct 19, 7:49 PM
Unknown Object (File)
Sun, Oct 19, 5:50 AM

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
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 56369
Build 53257: arc lint + arc unit