[Bugs] [Bug 1286029] Data Tiering:File create terminates with "Input/output error" as split brain is observed

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 15 08:36:02 UTC 2015


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



--- Comment #12 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12816 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com) 
------
commit c4f6521dfe6a44cee2f61ae41fc26faaf785372d
Author: Ashish Pandey <aspandey at redhat.com>
Date:   Thu Nov 26 14:35:49 2015 +0530

    storage/posix: Implement .unlink directory

    Problem: For EC volume, If a file descriptor is open and
    file has been unlinked, any further write on that fd will
    fail. When a write request comes, EC internally reads some
    blocks using anonymous fd. This read will fail as the file
    has already been unlinked.

    Solution: To solve this issue, we are using .unlink directory
    to keep track of unlinked file. If a file is to be unlinked
    while its fd is open, move this to .unlink directory and unlink
    it from .glusterfs and real path. Once all the fd will be closed,
    remove this entry form .unlink directory.

    Change-Id: I8344edb0d340bdb883dc46458c16edbc336916b9
    BUG: 1286029
    Signed-off-by: Ashish Pandey <aspandey at redhat.com>
    Reviewed-on: http://review.gluster.org/12816
    Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
    Reviewed-by: Xavier Hernandez <xhernandez at datalab.es>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=dLI9kZfOYP&a=cc_unsubscribe


More information about the Bugs mailing list