HomeFreeBSD

vfs: provide F_ISUNIONSTACK as a kludge for libc

Description

vfs: provide F_ISUNIONSTACK as a kludge for libc

Prior to introduction of this op libc's readdir would call fstatfs(2), in
effect unnecessarily copying kilobytes of data just to check fs name and a
mount flag.

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

Details

Committed
mjgJan 17 2020, 2:42 PM
Reviewer
kib
Differential Revision
D23162: vfs: provide F_ISUNIONSTACK as a kludge for libc
Parents
rS356829: libc: assume no union stack if fstatfs fails in readdir
Branches
Unknown
Tags
Unknown