[Bugs] [Bug 1364449] New: posix: honour fsync flags in posix_do_zerofill
bugzilla at redhat.com
bugzilla at redhat.com
Fri Aug 5 11:30:07 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1364449
Bug ID: 1364449
Summary: posix: honour fsync flags in posix_do_zerofill
Product: GlusterFS
Version: mainline
Component: posix
Assignee: bugs at gluster.org
Reporter: ravishankar at redhat.com
CC: bugs at gluster.org
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
--
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