HDFS-5337. should do hsync for a commit request even there is no pending writes. Contributed by Brandon Li