]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fuse: switch from DFLTPHYS/MAXBSIZE to maxcachebuf
authorcem <cem@FreeBSD.org>
Thu, 7 Mar 2019 00:55:49 +0000 (00:55 +0000)
committercem <cem@FreeBSD.org>
Thu, 7 Mar 2019 00:55:49 +0000 (00:55 +0000)
commit074cab8ee76badd41c5e8977878debb340cc61eb
tree63598a094a01512d3fe4ad147f8cef58d7bc1264
parent6203202c6e16859e4a3f431a79aeddd28e48c8ca
fuse: switch from DFLTPHYS/MAXBSIZE to maxcachebuf

On GENERIC kernels with empty loader.conf, there is no functional change.
DFLTPHYS and MAXBSIZE are both 64kB at the moment.  This change allows
larger bufcache block sizes to be used when either MAXBSIZE (custom kernel)
or the loader.conf tunable vfs.maxbcachebuf (GENERIC) is adjusted higher
than the default.

Suggested by: ken@
sys/fs/fuse/fuse_io.c
sys/fs/fuse/fuse_vfsops.c