Date: Thu, 11 Feb 2021 02:25:26 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 253424] fusefs: statfs doesn't set f_iosize ("optimal transfer block size") Message-ID: <bug-253424-3630-hm1igGGt27@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-253424-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-253424-3630@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253424 --- Comment #2 from John Millikin <jmillikin@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 =3D pathconf(path, _PC_NAME_MAX); if (pcval =3D=3D -1) result->f_namemax =3D ~0UL; else result->f_namemax =3D (unsigned long)pcval; --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253424-3630-hm1igGGt27>