[ https://issues.apache.org/jira/browse/HDFS-7090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaoyu Yao updated HDFS-7090: ----------------------------- Attachment: HDFS-7090.4.patch Thanks Chris! I've update the patch with the additional check. > Use unbuffered writes when persisting in-memory replicas > -------------------------------------------------------- > > Key: HDFS-7090 > URL: https://issues.apache.org/jira/browse/HDFS-7090 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode > Affects Versions: 2.6.0 > Reporter: Arpit Agarwal > Assignee: Xiaoyu Yao > Fix For: 3.0.0 > > Attachments: HDFS-7090.0.patch, HDFS-7090.1.patch, HDFS-7090.2.patch, > HDFS-7090.3.patch, HDFS-7090.4.patch > > > The LazyWriter thread just uses {{FileUtils.copyFile}} to copy block files to > persistent storage. It would be better to use unbuffered writes to avoid > churning page cache. -- This message was sent by Atlassian JIRA (v6.3.4#6332)