diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-10-02 03:07:55 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-06 06:34:53 -0700 |
commit | 02bced30690a5d298f262dce459bfecd001da2fe (patch) | |
tree | b8b243be98e46fbea57536f9e7659feb8696fa55 /xlators/cluster/afr/src/afr-dir-read.h | |
parent | 6b5a8b8536a943bd7f3241e1a08de934f7566169 (diff) |
afr: Support readdirp fop
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 292 (Separate readdirp functionality from readdir fop)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=292
Diffstat (limited to 'xlators/cluster/afr/src/afr-dir-read.h')
-rw-r--r-- | xlators/cluster/afr/src/afr-dir-read.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-dir-read.h b/xlators/cluster/afr/src/afr-dir-read.h index 6d981fdfd47..8749c35fff0 100644 --- a/xlators/cluster/afr/src/afr-dir-read.h +++ b/xlators/cluster/afr/src/afr-dir-read.h @@ -35,6 +35,10 @@ afr_readdir (call_frame_t *frame, xlator_t *this, int32_t +afr_readdirp (call_frame_t *frame, xlator_t *this, + fd_t *fd, size_t size, off_t offset); + +int32_t afr_getdents (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, off_t offset, int32_t flag); |