svn commit: r337165 - head/sys/fs/fuse

Conrad Meyer cem at freebsd.org
Sat Aug 4 22:54:38 UTC 2018


On Sat, Aug 4, 2018 at 3:46 PM, Warner Losh <imp at bsdimp.com> wrote:
> On Thu, Aug 2, 2018 at 1:25 PM, Conrad Meyer <cem at freebsd.org> wrote:
>>
>> Author: cem
>> Date: Thu Aug  2 19:25:43 2018
>> New Revision: 337165
>> URL: https://svnweb.freebsd.org/changeset/base/337165
>>
>> Log:
>>   FUSE: Bump maximum IO size to enable more performant operation
>>...
>> -       mp->mnt_stat.f_iosize = PAGE_SIZE;
>> +       mp->mnt_stat.f_iosize = DFLTPHYS;
>
> Why DFLTPHYS instead of MAXPHYS?
>
> DFLTPHYS defaults to 64k, while MAXPHYS is 128k.

It was chosen arbitrarily.  Either is a big improvement over 4k.

According to the bug reporter, 64k is a common choice in other
implementations.  But I have no objection to MAXPHYS.

Best,
Conrad


More information about the svn-src-head mailing list