]> git.baikalelectronics.ru Git - kernel.git/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)
commite34c34a8950bbb40c9c348e91ce2bc58b060735e
tree20e4bf90709bf369665c3261753fcf32ff0d1b78
parentf928a7a408754090ed6ae3dcff9ab80306157c57
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