I had a look at the docs but I can\'t seem to find the relevant part. Can anyone tell me what the call to sync is for in the following code?
sync
fh
Basically, it writes any data buffered in memory out to disk right away.