sysrwloop: make sure descriptors are flushed and synced
commit91276ae9131c405050b1f31af0680475043a9e0b
authorEric Wong <normalperson@yhbt.net>
Thu, 25 Dec 2008 00:53:22 +0000 (24 16:53 -0800)
committerEric Wong <normalperson@yhbt.net>
Mon, 29 Dec 2008 19:46:09 +0000 (29 11:46 -0800)
tree3aa30654d8051860abcf4af8f7b63816200bc6b9
parent0d3607a455141a428b105b39e3be1c263cc48e8a
sysrwloop: make sure descriptors are flushed and synced

"io.sync = true" does not appear to flush file pointers in MRI
1.8, we need to explicitly flush it first.
lib/mogilefs/util.rb