fuse: allow control of adaptive readdirplus use
authorEric Wong <normalperson@yhbt.net>
Wed, 6 Feb 2013 22:29:01 +0000 (22:29 +0000)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 7 Feb 2013 13:25:44 +0000 (14:25 +0100)
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: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>

No differences found