HomeFreeBSD

vfs: add vn_getsize

Description

vfs: add vn_getsize

getattr is very expensive and in important cases only gets called to get
the size. This can be optimized with a dedicated routine which obtains
that statistic.

As a step towards that goal make size-only consumers use a dedicated
routine.

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D37885

Details

Provenance
mjgAuthored on Sep 22 2022, 1:55 PM
Reviewer
kib
Differential Revision
D37885: vfs: add vn_getsize
Parents
rGe300f328fec1: Add site.{autodep,gendirdeps}.mk
Branches
Unknown
Tags
Unknown