]> arthur.barton.de Git - bup.git/commit
fdatasync: call F_FULLFSYNC fcntl on OS X
authorRob Browning <rlb@defaultvalue.org>
Fri, 1 Jan 2016 20:04:09 +0000 (14:04 -0600)
committerRob Browning <rlb@defaultvalue.org>
Fri, 1 Jan 2016 20:12:41 +0000 (14:12 -0600)
commit2d61b1f81a838fc21935faf4c874c8adeea0ecd0
tree1cdc4ebc548d8ad8e6023a28b8fca5143a631c9d
parentef544e31631a4499946ade3e84637a9bd87899a8
fdatasync: call F_FULLFSYNC fcntl on OS X

Apparently fsync doesn't guarantee to actually sync all the way to disk
on OS X, for that you have to use this fcntl.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/helpers.py