svn merge -c 1409994 FIXES: HDFS-4186. logSync() is called with the write lock held while releasing lease (Kihwal Lee via daryn)