[Bug 253424] fusefs: statfs doesn't set f_iosize ("optimal transfer block size")

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 02:51:12 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253424

--- Comment #3 from Alan Somers <asomers at FreeBSD.org> ---
(In reply to John Millikin from comment #2)
Oh, I thought you were talking about something that wraps statvfs.  I wouldn't
call statvfs a wrapper; it's the standardized interface for getting information
about a file system.  statfs is the older, but non-portable version.  And the
reason that statvfs uses pathconf is because when it was written (2002) statfs
didn't have an f_namemax field.  f_namemax was only added in 2003 when
statfs(2) was updated for 64-bit block counts.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-fs mailing list