dynamic fsync from chad thanx @faux123