[Bugs] [Bug 1364497] New: posix: honour fsync flags in posix_do_zerofill

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 5 13:49:41 UTC 2016


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

            Bug ID: 1364497
           Summary: posix: honour fsync flags in posix_do_zerofill
           Product: GlusterFS
           Version: 3.8.1
         Component: posix
          Keywords: Triaged
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org
        Depends On: 1364449
            Blocks: 1353507 (glusterfs-3.8.2)



+++ This bug was initially created as a clone of Bug #1364449 +++

commit 6d994661db96cad43f26d0d1e2fba31dce9a76f5 introduced fallocate +
    FALLOC_FL_ZERO_RANGE to do posix_do_zerofill but did not do an fsync if
    O_SYNC or O_DSYNC fd flags were set. Prashant Pai pointed out performing
    fallocate(2) does not remove the necessity to do fsyncs if durability is
    desired:
http://linux-fsdevel.vger.kernel.narkive.com/bDmrAUlh/fallocate-falloc-fl-punch-hole

--- Additional comment from Vijay Bellur on 2016-08-05 13:30:37 CEST ---

REVIEW: http://review.gluster.org/15100 (posix: honour fsync flags in
posix_do_zerofill) posted (#1) for review on master by Ravishankar N
(ravishankar at redhat.com)


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1353507
[Bug 1353507] GlusterFS 3.8.2 tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1364449
[Bug 1364449] posix: honour fsync flags in posix_do_zerofill
-- 
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