hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-6108) make the length of the range in sync_file_range() configurable
Date Mon, 17 Mar 2014 07:37:45 GMT

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

Liang Xie commented on HDFS-6108:
---------------------------------

yeh:)
The "nbytes" parameter is hard code right now.

> make the length of the range in sync_file_range() configurable
> --------------------------------------------------------------
>
>                 Key: HDFS-6108
>                 URL: https://issues.apache.org/jira/browse/HDFS-6108
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: datanode
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: Liang Xie
>            Assignee: Liang Xie
>         Attachments: HDFS-6108.txt
>
>
> Current codebase has a hard code value for sync_file_range system call, we'd better to
make it configurable, since different scenario probably has a different/better value for it.
(ps: i found it's 1 * 1024 * 1024 in fb-20 branch)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message