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
F171503733: D44171.id135271.diff
Fri, Sep 11, 12:35 PM
Unknown Object (File)
Thu, Sep 10, 11:23 AM
Unknown Object (File)
Wed, Sep 9, 10:08 PM
Unknown Object (File)
Mon, Sep 7, 10:27 PM
Unknown Object (File)
Sun, Sep 6, 3:59 AM
Unknown Object (File)
Sat, Sep 5, 6:25 PM
Unknown Object (File)
Sat, Sep 5, 6:25 PM
Unknown Object (File)
Sat, Sep 5, 6:20 PM

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