From 6bf2e6f07c133f7b145a4726c5d962f14c650ca7 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 5 Mar 2014 14:45:44 +0100 Subject: libfuse: implement readdirplus for high-level API Reuse the old "readdir" callback, but add a flags argument, that has FUSE_READDIR_PLUS in case this is a "plus" version. Filesystems can safely ignore this flag, but if they want they can add optimizations based on it: i.e. only retrieve the full attributes in PLUS mode. The filler function is also given a flags argument and the filesystem can set FUSE_FILL_DIR_PLUS if all the attributes in "stat" are valid. --- ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 69e5fc9..9932a7c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2014-03-05 Miklos Szeredi + + * libfuse: implement readdirplus for high-level API. Reuse the + old "readdir" callback, but add a flags argument, that has + FUSE_READDIR_PLUS in case this is a "plus" version. Filesystems + can safely ignore this flag, but if they want they can add + optimizations based on it: i.e. only retrieve the full attributes + in PLUS mode. The filler function is also given a flags argument + and the filesystem can set FUSE_FILL_DIR_PLUS if all the + attributes in "stat" are valid. Original patch by Eric Wong + 2014-02-21 Miklos Szeredi * libfuse: added fuse_lo-plus.c to the examples -- cgit v1.2.3