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

bugzilla at redhat.com bugzilla at redhat.com
Fri Jan 9 17:46:13 UTC 2015


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



--- Comment #7 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9079 committed in master by Vijay Bellur
(vbellur at redhat.com) 
------
commit eaf7164ff824ad4d69cf225e49c54fc473b300b8
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.

    Change-Id: I9f721f12217a98231fe52e344166d1c94172c272
    BUG: 1161621
    Signed-off-by: Xavier Hernandez <xhernandez at datalab.es>
    Reviewed-on: http://review.gluster.org/9079
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Dan Lambright <dlambrig 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.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=KMybRbnBzl&a=cc_unsubscribe


More information about the Bugs mailing list