Skip to content
Commit 634734b6 authored by Eric Wong's avatar Eric Wong Committed by Miklos Szeredi
Browse files

fuse: allow control of adaptive readdirplus use



For some filesystems (e.g. GlusterFS), the cost of performing a
normal readdir and readdirplus are identical.  Since adaptively
using readdirplus has no benefit for those systems, give
users/filesystems the option to control adaptive readdirplus use.

v2 of this patch incorporates Miklos's suggestion to simplify the code,
as well as improving consistency of macro names and documentation.

Signed-off-by: default avatarEric Wong <normalperson@yhbt.net>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
parent 7e98d530
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment