[OpenAFS-devel] Patch to disable fsync()ing

Jim Rees rees@umich.edu
Fri, 16 Mar 2007 12:22:46 -0500


Robert Banz wrote:

  My theory with the fsync thing, is that the OS is going to flush  
  dirty stuff to disk anyhow.  So, I figure to just let it do that and  
  not try to implement a bunch of code to flush'm when something else  
  should be doing it for me.

The only reason to fsync would be to enforce a particular ordering on the
data written to disk.  But there is no question afs is way too aggressive at
syncing.