[Bugs] [Bug 1161885] Possible file corruption on dispersed volumes

bugzilla at redhat.com bugzilla at redhat.com
Thu Dec 18 14:36:48 UTC 2014


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



--- Comment #6 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9080 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit 2372a9ed54f6e30e3ac744e1daf8ec379dd236ae
Author: Xavier Hernandez <xhernandez at datalab.es>
Date:   Sat Nov 8 21:07:09 2014 +0100

    ec: Remove O_APPEND from flags on create and open.

    Allowing O_APPEND flag to pass through to the brick files
    corrupts fragment contents because writes are not stored on
    the desired place.

    Write fop has been modified so that it uses current file
    size as its write offset. This guarantees that all writes,
    even those comming from different file descriptors and
    clients, will write to the end of the file.

    This is backport of http://review.gluster.org/9079/

    Change-Id: I9f721f12217a98231fe52e344166d1c94172c272
    BUG: 1161885
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/9080
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig at redhat.com>
    Reviewed-by: Raghavendra Bhat <raghavendra at redhat.com>
    Tested-by: Raghavendra Bhat <raghavendra 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=GjdkR1jNgT&a=cc_unsubscribe


More information about the Bugs mailing list