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, Oct 14, 7:20 PM
Unknown Object (File)
Thu, Sep 25, 10:45 AM
Unknown Object (File)
Tue, Sep 23, 11:33 PM
Unknown Object (File)
Thu, Sep 18, 3:56 PM
Unknown Object (File)
Thu, Sep 18, 10:34 AM
Unknown Object (File)
Wed, Sep 17, 12:02 PM
Unknown Object (File)
Sep 10 2025, 6:00 PM
Unknown Object (File)
Aug 20 2025, 11:47 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