[Bugs] [Bug 1174783] [readdir-ahead]: indicate EOF for readdirp
bugzilla at redhat.com
bugzilla at redhat.com
Thu Dec 18 02:50:20 UTC 2014
https://bugzilla.redhat.com/show_bug.cgi?id=1174783
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9283 committed in master by Vijay Bellur
(vbellur at redhat.com)
------
commit cca09a2a342980f427b590f2655d23c371386a02
Author: Raghavendra Bhat <raghavendra at redhat.com>
Date: Tue Dec 16 19:01:20 2014 +0530
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: 1174783
Signed-off-by: Raghavendra Bhat <raghavendra at redhat.com>
Reviewed-on: http://review.gluster.org/9283
Reviewed-by: Raghavendra G <rgowdapp at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Brian Foster <bfoster at redhat.com>
Reviewed-by: Vijay Bellur <vbellur at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list