]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: implement non-clustered readahead
authorasomers <asomers@FreeBSD.org>
Mon, 17 Jun 2019 16:56:51 +0000 (16:56 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 17 Jun 2019 16:56:51 +0000 (16:56 +0000)
commit1d1074b2a297ad939419afffd74b1c0781a77426
treec78b4061b2ab0e084fd3a60a52ba2cea8fc8c8c4
parentc65440cb837fd31dabb57adc9e14e51167a0db29
fusefs: implement non-clustered readahead

fusefs will now read ahead at most one cache block at a time (usually 64
KB).  Clustered reads are still TODO.  Individual file systems may disable
read ahead by setting fuse_init_out.max_readahead=0 during initialization.

Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_internal.c
sys/fs/fuse/fuse_io.c
sys/fs/fuse/fuse_ipc.h
tests/sys/fs/fusefs/read.cc
tests/sys/fs/fusefs/utils.hh