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, Sep 5, 10:56 PM
Unknown Object (File)
Sat, Sep 5, 10:48 PM
Unknown Object (File)
Sat, Sep 5, 4:18 PM
Unknown Object (File)
Sat, Sep 5, 2:17 PM
Unknown Object (File)
Sat, Sep 5, 3:18 AM
Unknown Object (File)
Fri, Sep 4, 6:37 PM
Unknown Object (File)
Thu, Sep 3, 10:01 AM
Unknown Object (File)
Thu, Sep 3, 5:35 AM
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