HomeFreeBSD

vfs: add VOP_STAT

Description

vfs: add VOP_STAT

The current scheme of calling VOP_GETATTR adds avoidable overhead.

An example with tmpfs doing fstat (ops/s):
before: 7488958
after: 7913833

Reviewed by: kib (previous version)
Differential Revision: https://reviews.freebsd.org/D25910

Details

Provenance
mjgAuthored on Aug 7 2020, 11:06 PM
Parents
rG1e5d73350352: mmc_da: fix memory leak in sddaregister()
Branches
Unknown
Tags
Unknown

Event Timeline