svn merge -c 1408450 from branch-1 for HDFS-1539. A config option for the datanode to fsycn a block file when block is completely written.