]> git.itanic.dy.fi Git - linux-stable/commit
FUSE: Adapt readdirplus to application usage patterns
authorFeng Shuo <steve.shuo.feng@gmail.com>
Tue, 15 Jan 2013 03:23:28 +0000 (11:23 +0800)
committerMiklos Szeredi <mszeredi@suse.cz>
Thu, 31 Jan 2013 16:08:11 +0000 (17:08 +0100)
commit4582a4ab2a0e7218449fb2e895d0aae9ea753c94
tree20e4bf90709bf369665c3261753fcf32ff0d1b78
parentc2132c1bc73d9a279cec148f74ea709c960b3d89
FUSE: Adapt readdirplus to application usage patterns

Use the same adaptive readdirplus mechanism as NFS:

http://permalink.gmane.org/gmane.linux.nfs/49299

If the user space implementation wants to disable readdirplus
temporarily, it could just return ENOTSUPP. Then kernel will
recall it with readdir.

Signed-off-by: Feng Shuo <steve.shuo.feng@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dir.c
fs/fuse/fuse_i.h
fs/fuse/inode.c