[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:25:26 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253424
--- Comment #2 from John Millikin <jmillikin at gmail.com> ---
In libc, the `lib/libc/gen/statvfs.c' file contains an implementation of
`statvfs()' that wraps the `statfs()' syscall. This wrapper copies most of the
fields, but does not copy the maximum name length -- for that, it uses:
pcval = pathconf(path, _PC_NAME_MAX);
if (pcval == -1)
result->f_namemax = ~0UL;
else
result->f_namemax = (unsigned long)pcval;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list