[Bugs] [Bug 1175753] [readdir-ahead]: indicate EOF for readdirp

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 8 09:42:36 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1175753



--- Comment #3 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9348 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 419015d5f61c9d9dcd93f9dda3f7b66f735ded83
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: 1175753
    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>
    Signed-off-by: Sachin Pandit <spandit at redhat.com>
    Reviewed-on: http://review.gluster.org/9348

-- 
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