[ 
https://issues.apache.org/jira/browse/HDFS-12157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16119602#comment-16119602
 ] 

Brahma Reddy Battula commented on HDFS-12157:
---------------------------------------------

will hold for commit till [~kihwal] review once..?

> Do fsyncDirectory(..) outside of FSDataset lock
> -----------------------------------------------
>
>                 Key: HDFS-12157
>                 URL: https://issues.apache.org/jira/browse/HDFS-12157
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: datanode
>            Reporter: Vinayakumar B
>            Assignee: Vinayakumar B
>            Priority: Critical
>         Attachments: HDFS-12157-01.patch, HDFS-12157-branch-2-01.patch, 
> HDFS-12157-branch-2.7-01.patch, HDFS-12157-branch-2.7-01.patch
>
>
> HDFS-5042 introduced fsyncDirectory(..) to save blocks from power failure. 
> Do it outside of FSDataset lock to avoid overall performance degradation if 
> disk takes more time to sync.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to