summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-05-28 04:42:58 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-03 00:30:54 -0700
commitb6434aadbe3e862815f4237fdf4c97284680a134 (patch)
tree7b8a87771b9efcf9ea4c85fd7bdbdf90b6a6ef5c /doc
parent1fea167f86ed4501ed01b5c678cddc7c815f1a5b (diff)
libglusterfsclient: Add dirent pre-fetching and caching
The fop interface is such that we're able to extract more than 1 dirent in a readdir fop. This commit now enables libglusterfsclient to read multiple entries on a glusterfs_readdir call. Once these have been pre-fetched, they're cached till either glusterfs_closedir ,glusterfs_rewinddir or glusterfs_seekdir are called. The current implementation is beneficial for sequential directory reading and probably indifferent to applications that do a lot of seekdir and rewinddir after opening the directory. This is because both these calls result in dirent cache invalidation. Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions