diff options
author | Raghavendra Bhat <raghavendra@redhat.com> | 2014-12-16 19:01:20 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-01-08 01:42:32 -0800 |
commit | 419015d5f61c9d9dcd93f9dda3f7b66f735ded83 (patch) | |
tree | 9c2acf6b8645bc218524576acc247ee623c41410 /xlators/features/snapview-client/src/snapview-client.c | |
parent | a0e35d4f09e63fa91737c6abf40a58401590acc7 (diff) |
performance/readdir-ahead: indicate EOF for readdirp.
posix xlator sends op_errno as ENOENT and op_ret as 0, to indicate readdir has
been completed. readdir-ahead should send that op_errno that it has saved in the
fd context, when it serves the readdir requests. Otherwise some xlators sitting
above performance xlators such as snapview-client, which checks for end of
readdir operation by checking op_ret to 0 and op_errno to ENOENT will not be
able to identify end of readdir.
Change-Id: Ib0835136c61cb1e0d7df933226c479c7db703a71
BUG: 1175753
Signed-off-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-on: http://review.gluster.org/9283
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/9348
Diffstat (limited to 'xlators/features/snapview-client/src/snapview-client.c')
0 files changed, 0 insertions, 0 deletions