[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gluster-bugs
Subject:    [Bugs] [Bug 1360785] Direct io to sharded files fails when on zfs backend
From:       bugzilla () redhat ! com
Date:       2016-07-30 3:54:23
Message-ID: bug-1360785-371520-mbpg0F7Ild () bugzilla ! redhat ! com
[Download RAW message or body]

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



--- Comment #20 from Vijay Bellur <vbellur@redhat.com> ---
COMMIT: http://review.gluster.org/15041 committed in release-3.7 by Atin
Mukherjee (amukherj@redhat.com) 
------
commit 72db4ac5701185fc3115f115f18fb2250f3050f4
Author: Krutika Dhananjay <kdhananj@redhat.com>
Date:   Thu Jul 28 22:37:38 2016 +0530

    storage/posix: Look for file in "unlink" dir IFF open on real-path fails
with ENOENT

            Backport of: http://review.gluster.org/#/c/15039/

    PROBLEM:
    In some of our users' setups, open() on the anon fd failed for
    a reason other than ENOENT. But this error code is getting masked
    by a subsequent open() under posix's hidden "unlink" directory, which
    will fail with ENOENT because the gfid handle still exists under
.glusterfs.
    And the log message following the two open()s ends up logging ENOENT,
    causing much confusion.

    FIX:
    Look for the presence of the file under "unlink" ONLY if the open()
    on the real_path failed with ENOENT.

    Change-Id: Id68bbe98740eea9889b17f8ea3126ed45970d26f
    BUG: 1360785
    Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
    Reviewed-on: http://review.gluster.org/15041
    Smoke: Gluster Build System <jenkins@build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins@build.gluster.org>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
_______________________________________________
Bugs mailing list
Bugs@gluster.org
http://www.gluster.org/mailman/listinfo/bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic